<#include "all_entry_commons.html" /> {breadcrumb_template} <@row> <@columns> <@box color='primary'> <@boxHeader title='#i18n{forms.create_entry.titleQuestion} : "${form.title}"' /> <@boxBody> <@tform action="${action}"> <@fieldSet legend='#i18n{forms.create_entry.titleQuestion} : "${form.title}"' hideLegend=['all']> <@input type='hidden' name='id_type' value='${entry.entryType.idType}' /> <#if entry.fieldDepend?exists> <@input type='hidden' name='id_field' value='${entry.fieldDepend.idField}' /> <@input type='hidden' name='id_parent' value='${id_parent!"0"}' /> <@input type='hidden' name='id_step' value='${step.id!"0"}' /> <@formGroup labelFor='type' labelKey='#i18n{forms.create_entry.labelType}'> <@staticText><@tag color='info'>${entry.entryType.title} <@formGroup labelFor='title' labelKey='#i18n{forms.createField.labelTitle}' mandatory=true> <@input type='text' name='title' id='title' inputSize=80 value='' maxlength=255 /> <@formGroup labelFor='entry_code' labelKey='#i18n{forms.create_entry.labelCode}' helpKey='#i18n{forms.create_entry.labelCodeComment}'> <@input type='text' name='entry_code' id='entry_code' value='' maxlength=100 /> <@formGroup labelFor='help_message' labelKey='#i18n{forms.create_entry.labelHelpMessage}' helpKey='#i18n{forms.create_entry.labelHelpMessageComment}'> <@input type='textarea' name='help_message' id='help_message' rows=2> <@formGroup labelFor='comment' labelKey='#i18n{forms.create_entry.labelComment}'> <@input type='textarea' name='comment' id='comment' rows=2> <@formGroup id="fgMandatory" labelFor='mandatory' labelKey='#i18n{forms.create_entry.labelType} : ${entry.entryType.title}'> <@checkBox orientation='switch' labelFor='mandatory' labelKey='#i18n{forms.create_entry.labelMandatory}' name='mandatory' id='mandatory' value='1' checked=getChecked('mandatory',list_param_default_values) /> <@formGroup> <@checkBox orientation='switch' labelFor='export_binary' labelKey='#i18n{forms.create_entry.labelExportBinary}' labelFor='export_binary' labelKey='#i18n{forms.create_entry.labelExportBinaryComment}' name='export_binary' id='export_binary' value='1' /> <@tag color='warning'>#i18n{forms.create_entry.labelExportBinaryWarning} <@formGroup> <@checkBox orientation='switch' labelFor='only_display_in_back' labelKey='#i18n{forms.create_entry.labelOnlyDisplayBack}' name='only_display_in_back' id='only_display_in_back' value='1' /> <@formGroup labelFor='css_class' labelKey='#i18n{forms.create_entry.labelCSSClass}' helpKey='#i18n{forms.create_entry.labelCSSClassComment}'> <@input type='text' name='css_class' id='css_class' value='${entry.CSSClass!}' maxlength=255 /> <@formGroup helpKey='#i18n{forms.create_entry.labelResponsesIndexedComment}'> <@checkBox orientation='switch' labelFor='is_indexed' labelKey='#i18n{forms.create_entry.labelResponsesIndexed}' name='is_indexed' id='is_indexed' value='1' checked=true /> <@formGroup> <@checkBox orientation='switch' labelFor='anonymizable' labelKey='#i18n{forms.create_entry.labelAnonymizable}' name='anonymizable' id='anonymizable' value='1' params='onchange="javascript:changeVisilityAnonymizePattern();"' /> <@formGroup labelFor='anonymize_pattern' id="anonymize_pattern_group" labelKey='#i18n{forms.create_entry.labelAnonymizePattern}' helpKey='${anonymization_help_message}' > <@input type='text' name='anonymize_pattern' id='anonymize_pattern' maxlength=255 /> <@formGroup labelFor='disabled' helpKey='#i18n{forms.create_entry.labelDisableQuestionHelp}'> <@checkBox orientation='switch' name='disabled' id='disabled' labelKey='#i18n{forms.create_entry.labelDisableQuestion}' value='1' /> <@formGroup> <@button type='submit' name='action_createQuestion' buttonIcon='save' title='#i18n{forms.modify_entry.buttonSave}' hideTitle=['xs'] /> <@button type='submit' name='action_createQuestionAndManageEntries' buttonIcon='check' title='#i18n{forms.create_entry.buttonApply}' hideTitle=['xs'] /> <@button type='cancel' name='view_manageQuestions' buttonIcon='close' title='#i18n{forms.create_entry.buttonCancel}' hideTitle=['xs'] color='default' cancel=true /> <#include "/admin/util/editor/editor.html" /> <@initEditor /> <@anonymPattern />