blob: 078233cbf18fcf8d351ac8114e50f0c384e6d645 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
<!--
This file is part of the Taler Codeless Merchant.
(C) 2018 GNUnet e.V.
The Taler Codeless Merchant is free software: you can redistribute it and/or
modify it under the terms of the GNU Affero General Public License as published
by the Free Software Foundation, either version 3 of the License, or (at your
option) any later version.
The Taler Codeless Merchant is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License
for more details.
You should have received a copy of the GNU Affero General Public License along
with the Taler Codeless Merchant. If not, see <https://www.gnu.org/licenses/>.
@author Shivam Kohli
-->
{% extends "inventory/base2.html" %}
{% block headermsg %}
<center><h1 class="nav">ADD A NEW PRODUCT</h1></center>
{% endblock headermsg %}
{% block content %}
<div class="main">
<section id="contact">
<div class="container">
<form method="post" enctype="multipart/form-data">
<form method="post" enctype="multipart/form-data">
<h1>FOR DIGITAL INVENTORY</h1>
{% csrf_token %}
<!-- {{ form.as_p }} -->
{% for field in form %}
{% if field.label == 'Price'%}
<label class="tooltip">{{ field.label }}<font size="1"><span class="tooltiptext">Enter the price of the product. Remeber to write price in English texts. For Example 100 or 99.95</span></font></label>
{{ field }}
{% else %}
<label class="mylabel">{{ field.label }}</label>
{{ field }}
{% endif %}
{% endfor %}
<button name="add_product" type="submit" class="submit">Add Product</button>
</form>
</div>
</section>
</div>
{% endblock content %}
|