{% extends "base.html" %} {% block title %} {{title}} {% endblock title %} {% block content %}
{{title}}

{% csrf_token %} {{ form.non_field_errors }}
{{ form.name.errors }} {{ form.name }}
{{ form.quantity.errors }} {{ form.quantity }}

{% if title == "New Stock" %} {% endif %} {% if delbtn %} Delete Stock {% endif %} Cancel
{% endblock content %}