Skip to content
Snippets Groups Projects
Commit 1f010b72 authored by Joona Erkkilä's avatar Joona Erkkilä
Browse files

Update admin.html

parent 0b3c1737
No related branches found
No related tags found
No related merge requests found
{% extends 'layout.html' %} {% extends 'layout.html' %}
{% block content %} {% block content %}
...@@ -11,6 +10,7 @@ ...@@ -11,6 +10,7 @@
<form method="POST" action="/admin/add_product"> <form method="POST" action="/admin/add_product">
<input type="text" name="product_name" placeholder="Product Name" required><br> <input type="text" name="product_name" placeholder="Product Name" required><br>
<input type="number" name="price" placeholder="Price" step="0.01" required><br> <input type="number" name="price" placeholder="Price" step="0.01" required><br>
<!-- <input type="hidden" name="csrf_token" value="{{ session.csrf_token }}"> -->
<input type="submit" value="Add Product"> <input type="submit" value="Add Product">
</form> </form>
</body> </body>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment