Add a New Product
Home
{% if current_user.is_authenticated %}
Order
{% endif %} {% if not current_user.admin %}
About
{% endif %}
Resources
{% if current_user.is_authenticated %}
Update Information
Logout
{% endif %} {% if not current_user.is_authenticated %}
Login
{% endif %} {% if current_user.admin %}
Admin
{% endif %}
{% if message %}
{{ message | safe}}
{% endif %}
{{ form.productname(class_ = 'form-control', placeholder = 'Product Name')}}
{{ form.quantity(class_ = 'form-control', placeholder = 'Quantity')}} {% for error in form.quantity.errors %}
{{error}} {% endfor %}
{{ form.image(class_ = 'form-control', placeholder = 'Image Link')}} {% for error in form.image.errors %}
{{error}} {% endfor %}
{{form.submitbtn}}
{{ form.csrf_token }}