{% extends 'bom/bom-base.html' %} {% load static %} {% load materializecss %} {% block head-title %}{{ title }}{% endblock %} {% block content %}
{% if profile.role == 'A' %}
{% csrf_token %}
{{ form.name|materializecss }}
Units

Define the units belonging to this quantity of measure. Base multiplier is relative to the base unit (multiplier 1.0).

For example, Voltage would have a base multiplier of 1.0, and millivolts would have a base multiplier of 0.001.

{{ unit_formset.management_form }} {% for form in unit_formset %} {% for hidden in form.hidden_fields %} {{ hidden }} {% endfor %} {% endfor %}
Name Symbol Base Multiplier Action
{{ form.name|materializecss }} {{ form.symbol|materializecss }} {{ form.base_multiplier|materializecss }} {% if form.instance.pk %}
{{ form.DELETE }}
delete {% else %} close {% endif %}
Cancel
{% else %} {% include 'bom/nothing-to-see.html' with required_privilege='Admin' %} {% endif %}
{% endblock %}