{% extends 'base.html' %} {% load crispy_forms_tags %} {% load static %} {% block javascript %} {% endblock %} {% block title %}Products{% endblock%} {% block content %} {% include 'navbar.html' %}


Product Details


{% include 'includes/product_list.html' %} {% include 'includes/product_add_edit_form.html' %}
Showing {{start}} to {{end}} of {{products_count}} products
{% if products.has_other_pages %}
    {% if products.has_previous %} First Previous {% else %} {% endif %} {% for i in products.paginator.page_range %} {% if products.number == i %}
  • {{ i }} (current)
  • {% else %}
  • {{ i }}
  • {% endif %} {% endfor %} {% if products.has_next %} Next Last {% else %} {% endif %}
{% endif %}
{% endblock %}