<#include "all_entry_commons.html" /> <#include "/admin/util/editor/editor.html" /> ${breadcrumb_template} <#assign fieldMyLuteceAttributeName = getFieldByCode( entry, "attribute_name" ) > <@row> <@columns> <@box color='primary'> <@boxHeader title='#i18n{forms.modifyEntry.titleQuestion} : "${form.title}"' /> <@boxBody> <@tform action="${action}"> <@fieldSet legend='#i18n{forms.createEntry.titleQuestion} : "${form.title}"' hideLegend=['all']> <@input type='hidden' name='id_entry' value='${entry.idEntry}' /> <@input type='hidden' name='id_step' value='${step.id}' /> <@input type='hidden' name='id_question' value='${question.id}' /> <@formGroup labelFor='type' labelKey='#i18n{forms.createEntry.labelType}'> <@staticText><@tag color='info'>${entry.entryType.title} <@formGroup labelFor='title' labelKey='#i18n{forms.createEntry.labelTitle}' helpKey='#i18n{forms.createEntry.labelTitleComment}' mandatory=true> <@input type='text' name='title' id='title' value=entry.title maxlength=255 /> <@formGroup labelFor='entry_code' labelKey='#i18n{forms.createEntry.labelCode}' helpKey='#i18n{forms.createEntry.labelCodeComment}'> <@input type='text' name='entry_code' id='entry_code' value='${entry.code}' maxlength=100 /> <@formGroup labelFor='help_message' labelKey='#i18n{forms.createEntry.labelHelpMessage}' helpKey='#i18n{forms.createEntry.labelHelpMessageComment}'> <@input type='textarea' name='help_message' id='help_message' rows=2>${entry.helpMessage} <@formGroup labelFor='mylutece_attribute_name' labelKey='#i18n{forms.createEntry.labelMyLuteceUserAttribute}'> <@select items=entryTypeService.getLuteceUserAttributesRefList(locale) name='mylutece_attribute_name' default_value=fieldMyLuteceAttributeName.value /> <@formGroup labelFor='mandatory' labelKey='#i18n{forms.createEntry.labelMandatory}'> <@checkBox name='mandatory' id='mandatory' value='true' checked=entry.mandatory /> <@formGroup labelFor='only_display_in_back' labelKey='#i18n{forms.createEntry.labelOnlyDisplayBack}'> <@checkBox name='only_display_in_back' id='only_display_in_back' value='true' checked=entry.onlyDisplayInBack /> <@formGroup labelFor='css_class' labelKey='#i18n{forms.createEntry.labelCSSClass}' helpKey='#i18n{forms.createEntry.labelCSSClassComment}'> <@input type='text' name='css_class' id='css_class' value='${entry.CSSClass!}' maxlength=255 /> <@formGroup labelFor='is_indexed' labelKey='#i18n{forms.createEntry.labelResponsesIndexed}' helpKey='#i18n{forms.createEntry.labelResponsesIndexedComment}'> <@checkBox name='is_indexed' id='is_indexed' value='1' checked=entry.indexed /> <@formGroup> <#assign anonymizable=getFieldByCode( entry, "anonymizable")> <#if anonymizable.value?boolean> <#assign checkedValue = true /> <#assign anonPattern = anonymizable.title /> <#else> <#assign checkedValue = false /> <#assign anonPattern ="" /> <@checkBox labelFor='anonymizable' labelKey='#i18n{forms.createEntry.labelAnonymizable}' name='anonymizable' id='anonymizable' value='1' params='onchange="javascript:changeVisilityAnonymizePattern();"' checked=checkedValue /> <@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 helpKey='#i18n{forms.createEntry.labelResponsesExportableComment}'> <@checkBox labelFor='exportable' labelKey='#i18n{forms.createEntry.labelResponsesExportable}' name='exportable' id='exportable' value='1' checked=entry.exportable /> <@formGroup helpKey='#i18n{forms.createEntry.labelResponsesExportablePdfComment}'> <@checkBox labelFor='exportable_pdf' labelKey='#i18n{forms.createEntry.labelResponsesExportablePdf}' name='exportable_pdf' id='exportable_pdf' value='1' checked=entry.exportablePdf /> ${question_modify_template!} <@formGroup> <@button type='submit' name='action_modifyQuestion' buttonIcon='save' title='#i18n{forms.modifyEntry.buttonSave}' hideTitle=['xs'] size='' /> <@button type='submit' name='action_saveQuestion' buttonIcon='check' title='#i18n{forms.createEntry.buttonApplyAndManageVerification}' hideTitle=['xs'] size='' /> <@button type='cancel' name='view_manageQuestions' buttonIcon='close' title='#i18n{forms.createEntry.buttonCancel}' hideTitle=['xs'] color='default' /> <@anonymPattern />