<#include "/admin/util/editor/editor.html" /> <@row> <@columns> <@box color='primary'> <@boxHeader title='#i18n{form.modifyEntry.titleQuestion} : "${form.title}"' /> <@boxBody>
#i18n{form.modifyEntry.titleQuestion} : "${form.title}" <@tform action='jsp/admin/plugins/form/DoModifyEntry.jsp#list'> <@formGroup labelKey='#i18n{form.createEntry.labelType}'> <@input type='text' name='type' id='type' readonly=true disabled=true value='${entry.entryType.title}' /> <@formGroup labelFor='title' labelKey='#i18n{form.createEntry.labelTitle}' helpKey='#i18n{form.createEntry.labelTitleComment}' mandatory=true> <@input type='text' name='title' id='title' value='${entry.title}' maxlength=255 /> <@formGroup labelFor='help_message' labelKey='#i18n{form.createEntry.labelHelpMessage}'> <@input type='textarea' name='help_message' id='help_message' rows=2>${entry.helpMessage} <@formGroup labelFor='comment' labelKey='#i18n{form.createEntry.labelComment}'> <@input type='textarea' name='comment' id='comment' rows=2>${entry.comment} <@formGroup labelFor='value' labelKey='#i18n{form.createEntry.labelValueDefault}'> <#list entry.fields as field> <@input type='text' name='value' id='value' value='${field.value}' /> <@formGroup> <#if entry.mandatory><#assign checked = true /> <@checkBox labelFor='mandatory' labelKey='#i18n{form.createEntry.labelMandatory}' name='mandatory' value='1' checked=checked /> <@formGroup labelFor='errorMessage' labelKey='#i18n{form.createEntry.labelMandatoryErrorMessage}' helpKey='#i18n{form.createEntry.labelMandatoryErrorMessageHelp}'> <@input type='textarea' name='errorMessage' id='errorMessage' rows=2>${entry.errorMessage!} <@formGroup labelFor='width' labelKey='#i18n{form.createEntry.labelWidth}' mandatory=true> <#list entry.fields as field> <@input type='text' name='width' id='width' value='${field.width}' /> <#assign id_field=field.idField> <@formGroup labelFor='max_size_enter' labelKey='#i18n{form.createEntry.labelMaxSizeEnter}'> <#list entry.fields as field> <#if field.maxSizeEnter!=-1> <@input type='text' name='max_size_enter' id='max_size_enter' inputSize=5 value='${field.maxSizeEnter}' /> <#else> <@input type='text' name='max_size_enter' id='max_size_enter' intputSize=5 value='' /> <@formGroup > <#if entry.confirmField><#assign checkedValue = true /><#else><#assign checkedValue = false /> <@checkBox labelFor='confirm_field' labelKey='#i18n{form.createEntry.labelConfirmField}' name='confirm_field' id='confirm_field' value='1' params='onchange="javascript:changeVisilityConfirmFieldTitle();"' checked=checkedValue /> <@formGroup labelFor='confirm_field_title' id="confirm_field_title_group" labelKey='#i18n{form.createEntry.labelConfirmFieldTitle}'> <@input type='text' name='confirm_field_title' id='confirm_field_title' value='${entry.confirmFieldTitle!}' maxlength=255 /> <@formGroup> <#if entry.unique><#assign checkedUnique = true /> <@checkBox labelFor='unique_field' labelKey='#i18n{form.createEntry.labelUniqueField}' name='unique_field' id='unique_field' value='1' checked=checkedUnique /> <@formGroup labelFor='css_class' labelKey='#i18n{form.createEntry.labelCSSClass}' helpKey='#i18n{form.createEntry.labelCSSClassComment}'> <@input type='text' name='css_class' id='css_class' value='${entry.CSSClass!}' maxlength=255 /> <@formGroup> <@button type='submit' name='save' buttonIcon='save' title='#i18n{form.modifyEntry.buttonSave}' showTitleXs=false size='' /> <@button type='submit' name='apply' buttonIcon='check' title='#i18n{form.modifyEntry.buttonApply}' showTitleXs=false size='' /> <@aButton href='jsp/admin/plugins/form/ModifyForm.jsp?id_form=${form.idForm}&plugin_name=form' buttonIcon='close' title='#i18n{form.createEntry.buttonCancel}' showTitleXs=false size='' color='btn-secondary' />
<#if regular_expression_list?exists> <@columns> <@box color='primary'> <@boxHeader title='#i18n{form.createEntry.manageRegularExpression.title}' /> <@boxBody>
#i18n{form.createEntry.manageRegularExpression.title} <@tform action='jsp/admin/plugins/form/DoInsertVerification.jsp#list'> <@formGroup labelFor='id_expression' labelKey='#i18n{form.createEntry.manageRegularExpression.labelInsert}' helpKey='#i18n{form.createEntry.manageRegularExpression.labelInsertComment}'> <@inputGroup> <@select name='id_expression' id='id_expression' items=regular_expression_list default_value='-1' size='sm' /> <@inputGroupItem> <@button type='submit' name='' title='#i18n{form.createEntry.manageRegularExpression.buttonInsert}' showTitle=false buttonIcon='plus' />
<@table> #i18n{form.createEntry.manageRegularExpression.rowTitle} #i18n{form.createEntry.manageRegularExpression.rowInformationMessage} #i18n{form.createEntry.manageRegularExpression.rowValidExemple} #i18n{form.createEntry.manageField.rowActions} <#list list as field> <#list field.regularExpressionList as expression> ${expression.title} ${expression.informationMessage} ${expression.validExemple} <@aButton href='jsp/admin/plugins/form/DoRemoveVerification.jsp?id_expression=${expression.idExpression}&id_field=${id_field}#list' title='#i18n{form.createEntry.manageField.titleDelete}' showTitle=false buttonIcon='trash' color='btn-danger' /> <@initEditor />