<#include "/admin/util/editor/editor.html" /> <#include "/admin/plugins/form/commons.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 labelFor='type' 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}' helpKey='#i18n{form.createEntry.labelHelpMessageComment}'> <@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='mandatory' labelKey='#i18n{form.createEntry.labelMandatory}'> <@checkBox name='mandatory' id='mandatory' value='1' checked=entry.mandatory /> <@formGroup labelFor='width' labelKey='#i18n{form.createEntry.labelWidth}' mandatory=true> <#list entry.fields as field> <#if !field.title??> <@input type='text' name='width' id='width' value='${field.width}' /> <#assign id_field=field.idField> <#break> <@formGroup labelFor='file_max_size' labelKey='#i18n{form.createEntry.labelFileMaxSize}' mandatory=true> <@input type='text' name='file_max_size' id='file_max_size' value=getFileMaxSize(entry) /> <@formGroup labelFor='max_files' labelKey='#i18n{form.createEntry.labelMaxFiles}' mandatory=true> <@input type='text' name='max_files' id='max_files' value=getMaxFiles(entry) maxlength=2 /> <@formGroup labelFor='export_binary' labelKey='#i18n{form.createEntry.labelExportBinary}'> <@checkBox labelKey='#i18n{form.createEntry.labelExportBinaryComment}' name='export_binary' id='export_binary' value='1' checked=exportBinary( entry ) /> <@tag color='warning'>#i18n{form.createEntry.labelExportBinaryWarning} <@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='' /> <@button type='submit' 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' 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 entry.fields 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 />