<@row> <@columns> <@box color='primary'> <@boxHeader title='#i18n{directory.create_field.title} : "${field.entry.title}"' /> <@boxBody> <@tform action='jsp/admin/plugins/directory/DoCreateField.jsp#list'> <@formGroup labelFor='title' labelKey='#i18n{directory.create_field.label_title}' mandatory=true> <@input type='text' name='title' id='title' maxlength=255 /> <@formGroup labelFor='value' labelKey='#i18n{directory.create_field.label_value}' mandatory=true> <@input type='text' name='value' id='value' /> <@formGroup> <@checkBox labelFor='default_value' labelKey='#i18n{directory.create_field.label_default_value}' name='default_value' id='default_value' value='1' /> <#if field.entry.roleAssociated && role_list?exists > <@formGroup labelFor='role' labelKey='#i18n{directory.create_field.label_role}' helpKey='#i18n{directory.create_field.label_role}'> <@select name='role_key' default_value='none' 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}'> <@select name='workgroup' items=user_workgroup_list default_value='all' /> <@formGroup> <@button type='submit' name='save' value='#i18n{directory.create_field.button_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' />