<#include "/admin/util/editor/editor.html" /> <@row> <@columns md=4> <@box color='primary'> <@boxHeader title='#i18n{appointment.modifyEntry.titleQuestion} : "${form.title}"' /> <@boxBody> <@tform action='jsp/admin/plugins/appointment/ManageAppointmentFormEntries.jsp'> <@input type='hidden' name='action' value='doModifyEntry' /> <@input type='hidden' name='id_entry' value='${entry.idEntry}' /> <@formGroup labelKey='#i18n{appointment.createEntry.labelType}' rows=2> <@staticText> <@tag color='info'> ${entry.entryType.title} <@formGroup labelFor='title' labelKey='#i18n{appointment.labelTitle}' helpKey='#i18n{appointment.createEntry.labelTitleComment}' mandatory=true rows=2> <@input type='text' name='title' id='title' value='${entry.title}' maxlength=255 /> <@formGroup labelFor='help_message' labelKey='#i18n{appointment.createEntry.labelHelpMessage}' helpKey='#i18n{appointment.createEntry.labelHelpMessageComment}' rows=2> <@input type='textarea' name='help_message' id='help_message' rows=2>${entry.helpMessage} <@formGroup labelFor='comment' labelKey='#i18n{appointment.comment.name}' rows=2> <@input type='textarea' name='comment' id='comment'>${entry.comment} <@formGroup labelKey='#i18n{appointment.createEntry.labelMandatory}' rows=2> <@checkBox labelFor='mandatory' labelKey='#i18n{appointment.createEntry.labelMandatory}' name='mandatory' id='mandatory' value='1' checked=entry.mandatory /> <@formGroup labelKey='#i18n{appointment.createEntry.labelOnlyDisplayInBack}' rows=2> <@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 labelFor='css_class' labelKey='#i18n{appointment.createEntry.labelCSSClass}' helpKey='#i18n{appointment.createEntry.labelCSSClassComment}' rows=2> <@input type='text' name='css_class' id='css_class' value='${entry.CSSClass!}' maxlength=255 /> <@formGroup rows=2> <@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 type='submit' name='cancel' id='cancel' value='cancel' buttonIcon='times' title='#i18n{appointment.labelCancel}' color='btn-default' cancel=true /> <@columns md=8> <@box color='primary'> <@boxHeader title='#i18n{appointment.createEntry.manageField.title}'> <@aButton href='jsp/admin/plugins/appointment/ManageAppointmentFormFields.jsp?view=getCreateField&id_entry=${entry.idEntry}' buttonIcon='plus' title='#i18n{appointment.createEntry.manageField.buttonInsert}' /> <@boxBody>
<@table> #i18n{appointment.labelTitle} #i18n{appointment.createEntry.manageField.rowValue} #i18n{appointment.createEntry.manageField.rowDefaultValue} #i18n{appointment.actions.label} <#assign cpt=0> <#list list as field> <#if field.code == 'answer_choice'> <#assign cpt=cpt+1> ${field.title} ${field.value} <#if field.defaultValue><@tag color='success'><@icon style='check' /> <@aButton href='jsp/admin/plugins/appointment/ManageAppointmentFormFields.jsp?view=getModifyField&id_field=${field.idField}' title='#i18n{portal.util.labelModify}' buttonIcon='edit' size='sm' /> <#if cpt!=1> <@aButton href='jsp/admin/plugins/appointment/ManageAppointmentFormFields.jsp?action=doMoveFieldUp&id_field=${field.idField}#list' title='#i18n{appointment.moveUp.title}' buttonIcon='chevron-up' size='sm' /> <#if field_has_next > <@aButton href='jsp/admin/plugins/appointment/ManageAppointmentFormFields.jsp?&action=doMoveFieldDown&id_field=${field.idField}#list' title='#i18n{appointment.moveDown.title}' buttonIcon='chevron-down' size='sm' /> <@aButton href='jsp/admin/plugins/appointment/ManageAppointmentFormFields.jsp?view=getConfirmRemoveField&id_field=${field.idField}#list' title='#i18n{appointment.delete.title}' buttonIcon='trash' color='danger' size='sm' />
<@initEditor />