{% extends "part/part_base.html" %} {% load static %} {% block details %} {% include "part/tabs.html" with tab='variants' %}

Part Variants


{% if part.is_template and part.active %} {% endif %}
{% for variant in part.variants.all %} {% endfor %}
Variant Description Stock
{% include "hover_image.html" with image=variant.image hover=True %} {{ variant.full_name }} {{ variant.description }} {{ variant.total_stock }}
{% endblock %} {% block js_ready %} {{ block.super }} $('#variant-table').bootstrapTable({ search: true, sortable: true, }); $('#new-variant').click(function() { launchModalForm( "{% url 'make-part-variant' part.id %}", { follow: true, } ); }); {% endblock %}