gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [taler-codeless] branch master updated: product page error


From: gnunet
Subject: [GNUnet-SVN] [taler-codeless] branch master updated: product page error
Date: Sat, 13 Apr 2019 11:20:29 +0200

This is an automated email from the git hooks/post-receive script.

shivam-kohli pushed a commit to branch master
in repository codeless.

The following commit(s) were added to refs/heads/master by this push:
     new fafb356  product page error
fafb356 is described below

commit fafb356b06831d861a72129ca53ad146127be105
Author: shivam kohli <address@hidden>
AuthorDate: Sat Apr 13 14:50:07 2019 +0530

    product page error
---
 templates/inventory/product.html | 13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)

diff --git a/templates/inventory/product.html b/templates/inventory/product.html
index bd2306b..d86623a 100644
--- a/templates/inventory/product.html
+++ b/templates/inventory/product.html
@@ -71,10 +71,13 @@ with the Taler Codeless Merchant.  If not, see 
<https://www.gnu.org/licenses/>.
 
 
 
-    <form name="update_stock" action="{{ url_update_inventory }}" 
method="post" enctype="multipart/form-data">
-        {% csrf_token %}
-        <input type="number" name="stock_updated" id="stock_updated" 
placeholder="Update Stock" required>
-        <button name="update_stock" type="submit" 
class="submit">Update</button>
-    </form>
+    {% if  digital == 'False' %}
+        <form name="update_stock" action="{{ url_update_inventory }}" 
method="post" enctype="multipart/form-data">
+            {% csrf_token %}
+            <input type="number" name="stock_updated" id="stock_updated" 
placeholder="Update Stock" required>
+            <button name="update_stock" type="submit" 
class="submit">Update</button>
+            <br>
+        </form>
+    {% endif %}
 </div>
 {% endblock content %}
\ No newline at end of file

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]