{% extends "components/modal/form.jinja" %} {% set form = "sdoc_modal_form" %} {% block modal__context %}{% endblock modal__context %} {% block modal_form__header %} Add new document {% endblock modal_form__header %} {% block modal_form__content %}
{%- with field_type="singleline", field_class_name="", field_name="title", field_label="document title", field_input_name="document_title", field_value=document_title, errors=error_object.get_errors("document_title") -%} {% include "components/form/field/text/index.jinja" %} {%- endwith -%} {%- with field_type="singleline", singleline_suffix='.sdoc', field_class_name="std-input-document_path", field_name="path", field_label="document path and filename", field_input_name="document_path", field_value=document_path, errors=error_object.get_errors("document_path") -%} {% include "components/form/field/text/index.jinja" %} {%- endwith -%}
{% endblock modal_form__content %}