Person page: use diabled checkboxes instead of list in textarea
This commit is contained in:
parent
e6eec0dfaf
commit
8e002415d0
1 changed files with 5 additions and 4 deletions
|
|
@ -234,10 +234,11 @@
|
|||
{% set count = 1 %}
|
||||
{% for FieldValue in FieldValues %}
|
||||
{% if FieldValue.FieldID == Field.ID %}
|
||||
{% set count = count + 1 %}
|
||||
{% if forloop.Last %}
|
||||
<textarea type="text" class="form-control" disabled readonly rows="{{ count }}">{% for FieldValue in FieldValues %}{% if FieldValue.FieldID == Field.ID %}- {{ FieldValue.ListItem.Value }}
|
||||
{% endif %}{% endfor %}</textarea>
|
||||
{% if FieldValue.FieldID == Field.ID %}
|
||||
<div class="mb-1">
|
||||
<input type="checkbox" class="form-check-input me-2" checked disabled>
|
||||
<label class="form-label">{{ FieldValue.ListItem.Value }}</label>
|
||||
</div>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue