{$forms.customFieldsForm.open}
{if $user->can('manage_custom_fields')}
|
|
{if $custom_fields}
{foreach $custom_fields as $field}
{$field['label']|escape} |
{if CustomFields::ENTITY_TIME == $field['entity_type']}
{$i18n.entity.time} |
{elseif CustomFields::ENTITY_USER == $field['entity_type']}
{$i18n.entity.user} |
{else}
|
{/if}
{if CustomFields::TYPE_TEXT == $field['type']}
{$i18n.label.type_text} |
|
{elseif CustomFields::TYPE_DROPDOWN == $field['type']}
{$i18n.label.type_dropdown} |
{$i18n.label.configure} |
{/if}
|
|
{/foreach}
{/if}
{$forms.customFieldsForm.btn_add.control} |
{/if}
|
{$forms.customFieldsForm.close}