Changed directory structure of forms/inputs slightly

This commit is contained in:
2023-06-01 15:33:24 +01:00
parent 6a9b24a626
commit ff871bdbbf
26 changed files with 27 additions and 27 deletions

View File

@@ -0,0 +1,8 @@
{% if 'description' not in form.fields.hidden %}
{% if col_width %}<div class="{{col_width}}">{% endif %}
<div class="form-group">
<label for="input-{{type}}-description" class="control-label">{{field_name | default(translate('DESCRIPTION'))}}</label>
<textarea id="input-{{type}}-description" class="form-control" type="text" name="description" {% if 'description' in form.fields.disabled %}disabled{% endif %} rows=6>{{current_value}}</textarea>
</div>
{% if col_width %}</div>{% endif %}
{% endif %}