<@row> <@columns> <@box color='primary'> <@boxHeader title='#i18n{directory.modify_field.title} : "${field.entry.title}"' /> <@boxBody> <@tform action='jsp/admin/plugins/directory/DoModifyField.jsp#list'> <@formGroup labelFor='title' labelKey='#i18n{directory.create_field.label_title}' mandatory=true> <@input type='text' name='title' id='title' maxlength=255 value='${field.title}' /> <@formGroup labelFor='value' labelKey='#i18n{directory.create_field.label_value}' mandatory=true> <@input type='text' name='value' id='value' value='${field.value}' /> <@formGroup> <@checkBox labelFor='default_value' labelKey='#i18n{directory.create_field.label_default_value}' name='default_value' id='default_value' value='1' checked=field.defaultValue /> <#if field.entry.roleAssociated && role_list?exists> <@formGroup labelFor='role' labelKey='#i18n{directory.create_field.label_role}' helpKey='#i18n{directory.create_field.label_role_comment}'> <#assign default_value> <#if field.roleKey?exists>field.roleKey<#else>'none' <@select name='role_key' default_value=default_value items=role_list /> <#if field.entry.workgroupAssociated && user_workgroup_list?exists> <@formGroup labelFor='workgroup' labelKey='#i18n{directory.create_field.label_workgroup}' helpKey='#i18n{directory.create_field.label_workgroup_comment}'> <#assign default_value> <#if field.workgroup?exists>field.workgroup<#else>'all' <@select name='workgroup' items=user_workgroup_list default_value=default_value /> <@formGroup> <@button type='submit' name='save' title='#i18n{directory.create_field.button_save}' buttonIcon='save' size='' /> <@button type='submit' name='cancel' title='#i18n{directory.create_field.button_cancel}' buttonIcon='remove' size='' color='btn-secondary' />