{% include 'favicon.html' %}
{% include 'header.html' %}
{% if item %}Update{% else %}Add{% endif %} Item
{% if error %}
{{ error }}
{% endif %}
{% for attrib in item_attributes -%}
{{ attrib.display_name }} {% if attrib.required %}
*
{% endif %}
{%- if attrib.html_input_type == "select" %}
{% for option in attrib.options -%}
{{ option }}
{% endfor %}
{%- else %}
{%- endif %}
{% endfor %}
Cancel
{% if item %}Update{% else %}Submit{% endif %}