{% extends 'bom/bom-base.html' %} {% load static %} {% load materializecss %} {% block head-title %}{{ title }}{% endblock %} {% block content %}
{% if profile.role == 'A' %}
{% csrf_token %}
{{ part_class_form.code|materializecss }}
{{ part_class_form.name|materializecss }}
{{ part_class_form.comment|materializecss }}
Property Definitions

Define the custom fields available to parts in this class.

{{ property_definitions_formset.management_form }} {% for form in property_definitions_formset %} {% for hidden in form.hidden_fields %} {{ hidden }} {% endfor %} {% endfor %}
Property Definition Action
{{ form.property_definition|materializecss }} {% if forloop.counter0 < property_definitions_formset.initial_form_count %}
{{ form.DELETE }}
delete {% else %} close {% endif %}
Cancel
{% else %} {% include 'bom/nothing-to-see.html' with required_privilege='Admin' %} {% endif %}
{% endblock %}