Skip to content

Commit

Permalink
feat: Added required column in custom-form field listing view
Browse files Browse the repository at this point in the history
  • Loading branch information
ambroisemaupate committed Jul 2, 2024
1 parent 676a016 commit f184d4e
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions lib/Rozier/src/Resources/views/custom-form-fields/list.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
<th>{% trans %}label{% endtrans %}</th>
<th class="mobile-hidden">{% trans %}type{% endtrans %}</th>
<th class="mobile-hidden">{% trans %}group{% endtrans %}</th>
<th class="mobile-hidden">{% trans %}required{% endtrans %}</th>
<th class="table-actions-row table-actions-row-2">{% trans %}actions{% endtrans %}</th>
</tr>
</thead>
Expand All @@ -40,6 +41,15 @@
</td>
<td class="mobile-hidden">{{ field.typeName|trans }}</td>
<td class="mobile-hidden">{{ field.groupName|trans }}</td>
<td class="mobile-hidden">
{% if field.required %}
<div class="uk-button-status"
title="{% trans %}required{% endtrans %}"
data-uk-tooltip="{animation:true}">
<i class="uk-icon-asterisk"></i>
</div>
{% endif %}
</td>
<td class="table-actions-row table-actions-row-2">
{% apply spaceless %}
<a class="uk-button uk-button-content uk-button-small custom-form-field-edit-button rz-no-ajax-link" href="{{ path('customFormFieldsEditPage', { customFormFieldId: field.getId }) }}" title="{% trans %}edit{% endtrans %}" data-uk-tooltip="{animation:true}" data-index="{{ loop.index0 }}"><i class="uk-icon-rz-pencil"></i></a>
Expand Down

0 comments on commit f184d4e

Please sign in to comment.