#include "all_entry_commons.html" /> <#include "/admin/util/editor/editor.html" /> <@row> <@columns> <@box color='primary'> <@boxHeader title='#i18n{appointment.modifyEntry.titleQuestion} : "${form.title}"' /> <@boxBody> <@tform action='jsp/admin/plugins/appointment/ManageAppointmentFormEntries.jsp'> <@input type='hidden' name='id_entry' value='${entry.idEntry}' /> <@input type='hidden' name='action' value='doModifyEntry' /> <@formGroup labelKey='#i18n{appointment.createEntry.labelType}'> <@staticText><@tag color='info'>${entry.entryType.title}@tag>@staticText> @formGroup> <@formGroup labelFor='title' labelKey='#i18n{appointment.labelTitle}' helpKey='#i18n{appointment.createEntry.labelTitleComment}' mandatory=true> <@input type='text' name='title' id='title' value='${entry.title}' maxlength=255 /> @formGroup> <@formGroup labelFor='help_message' labelKey='#i18n{appointment.createEntry.labelHelpMessage}' helpKey='#i18n{appointment.createEntry.labelHelpMessageComment}'> <@input type='textarea' name='help_message' id='help_message' rows=10>${entry.helpMessage}@input> @formGroup> <@formGroup labelFor='comment' labelKey='#i18n{appointment.comment.name}'> <@input type='textarea' name='comment' rows=2>${entry.comment}@input> @formGroup> <@formGroup labelKey='#i18n{appointment.createEntry.labelMandatory}'> <@checkBox labelFor='mandatory' labelKey='#i18n{appointment.createEntry.labelMandatory}' name='mandatory' id='mandatory' value='1' checked=entry.mandatory /> @formGroup> <@formGroup labelKey='#i18n{appointment.createEntry.labelOnlyDisplayInBack}'> <@checkBox labelFor='only_display_in_back' labelKey='#i18n{appointment.createEntry.labelOnlyDisplayInBack}' name='only_display_in_back' id='only_display_in_back' value='1' checked=entry.onlyDisplayInBack /> @formGroup> <@formGroup labelFor='file_max_size' labelKey='#i18n{appointment.createEntry.labelFileMaxSize}' mandatory=true> <@input type='text' name='file_max_size' id='file_max_size' value='${getFileMaxSize(entry)}' /> @formGroup> <@formGroup labelFor='max_files' labelKey='#i18n{appointment.createEntry.labelMaxFiles}' mandatory=true> <@input type='text' name='max_files' inputSize=2 value='${getMaxFiles(entry)}' maxlength=2 /> @formGroup> <@formGroup> <#assign anonymizable=getFieldByCode( entry, "anonymizable")> <#if anonymizable.value?boolean> <#assign checkedValue = true /> <#assign anonPattern = anonymizable.title /> <#else> <#assign checkedValue = false /> <#assign anonPattern ="" /> #if> <@checkBox orientation='switch' labelFor='anonymizable' labelKey='#i18n{appointment.createAppointmentForm.labelAnonymizable.genattField}' name='anonymizable' id='anonymizable' value='1' params='onchange="javascript:changeVisilityAnonymizePattern();"' checked=checkedValue /> @formGroup> <@formGroup labelFor='anonymize_pattern' id="anonymize_pattern_group" labelKey='#i18n{forms.createEntry.labelAnonymizePattern}' helpKey='${anonymization_help_message}' > <@input type='text' name='anonymize_pattern' id='anonymize_pattern' value='${anonPattern!}' maxlength=255 /> @formGroup> <@formGroup labelFor='css_class' labelKey='#i18n{appointment.createEntry.labelCSSClass}' helpKey='#i18n{appointment.createEntry.labelCSSClassComment}'> <@input type='text' name='css_class' id='css_class' value='${entry.CSSClass!}' maxlength=255 /> @formGroup> <@formGroup> <@button type='submit' name='save' id='save' buttonIcon='check' title='#i18n{appointment.labelSave}' /> <@button type='submit' name='apply' id='apply' buttonIcon='check' title='#i18n{appointment.modifyEntry.buttonApply}' /> <@button name='cancel' id='cancel' cancel=true buttonIcon='times' params='onclick="javascript:window.history.back();"' title='#i18n{appointment.labelCancel}' /> @formGroup> @tform> @boxBody> @box> <#if regular_expression_list?exists> <@box> <@boxHeader title='#i18n{appointment.createEntry.manageRegularExpression.title}' /> <@boxBody> <#assign field=getFieldByCode( entry, "used_in_correct_form_response")> <@tform action='jsp/admin/plugins/appointment/ManageAppointmentFormEntries.jsp#list'> <@input type='hidden' name='id_field' value='${field.idField!}' /> <@input type='hidden' name='action' value='doInsertRegularExpression' /> <@formGroup labelFor='id_expression' labelKey='#i18n{appointment.regularExpression.label}' helpKey='#i18n{appointment.createEntry.manageRegularExpression.labelInsertComment}'> <@inputGroup> <@select name='id_expression' items=regular_expression_list default_value='-1' /> <@inputGroupItem> <@button type='submit' buttonIcon='check' title='#i18n{appointment.label.insert}' /> @inputGroupItem> @inputGroup> @formGroup> <@table>