{% extends 'bom/bom-base.html' %} {% load materializecss %} {% load static %} {% block head-title %}{{ title }}{% endblock %} {% block content %}
{% if profile.role == 'A' %}
{% csrf_token %} {% include 'bom/part-revision-display.html' with part_revision_form=part_revision_new_form %} {{ part_revision_new_form.copy_assembly|materializecss:'m6 s12' }}
{% if used_part_revisions.count > 0 %}
This part is used by {{ used_part_revisions.count }} working parent assemblies. Select any parent assemblies you want to roll this revision into:
{% for upr in used_part_revisions %}
{% endfor %}
{% endif %} {% url 'bom:part-info' part_id=part.id as cancel_url %} {% include 'bom/components/form-actions.html' with cancel_url=cancel_url only %}
{% else %} {% include 'bom/nothing-to-see.html' with required_privilege='Admin' %} {% endif %}
{% endblock %}