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

{$forms.customFieldsForm.btn_add.control}
{/if}
{$forms.customFieldsForm.close}