diff --git a/strictdoc/export/html/templates/components/requirement_form/index.jinja b/strictdoc/export/html/templates/components/requirement_form/index.jinja index a9663488a..95250fe91 100644 --- a/strictdoc/export/html/templates/components/requirement_form/index.jinja +++ b/strictdoc/export/html/templates/components/requirement_form/index.jinja @@ -30,7 +30,15 @@ {% set text_field_row_context.errors=form_object.get_errors(field_.field_name) %} {% set text_field_row_context.field = field_ %} {% set text_field_row_context.field_type = "singleline" %} - {% include "components/requirement_form/row_with_text_field.jinja" %} + {% set text_field_row_context.reference_mid = form_object.requirement_mid %} + {%- if field_.field_name == "UID" and field_.field_escaped_value == "" -%} + + {# this template is turbo-frame and has a button to reset to the default value: #} + {% include "components/requirement_form/frame_row_with_uid_with_reset_field.jinja" %} + + {%- else -%} + {% include "components/requirement_form/row_with_text_field.jinja" %} + {%- endif -%} {%- endfor -%} {%- endfor -%}