{% extends "bootstrap/base.html" %} {% import "bootstrap/fixes.html" as fixes %} {% block title %} Libreant | {%trans%}Add new{%endtrans%} {{ preset.id if preset else "item"}} {% endblock %} {% block styles %} {{super()}} {% endblock %} {% block navbar %} {% import 'navbar.html' as navbar with context %} {{navbar.navbar()}} {% endblock %} {% block content %}

{%trans%}Add new{%endtrans%} {{ preset.id if preset else "item"}}


{% if availablePresets | length != 0 %}
{% endif %}
{% if preset %} {% for prop in preset.properties %}
{% if prop.type == "enum" %} {% else %} {% endif %} {% if prop.description %} {% endif %}
{% endfor %} {% endif %}
{% if file_upload and ( not preset or preset.allow_upload ) %}
{% endif %}
{% endblock %} {% block scripts %} {{ super() }} {%endblock%}