<#include "/admin/plugins/appointment/appointmentform/modify_appointmentform_tabs.html" /> <#assign entryIconList = ['dot-circle-o','check-square-o','comment-o','calendar','list-alt','file-text-o','file-text','phone','indent','database','map-o','sign-in','user','image','file','phone'] /> <@row> <@columns> <@appointmentTabs tab="entries" appointmentform=appointmentform> <@row> <@columns md=9>
<@tform class='form-inline' action='jsp/admin/plugins/appointment/ManageAppointmentFormEntries.jsp'> <#if entry_group_list?has_content> <@formGroup formStyle='inline'> <@inputGroup> <@select name='id_entry_group' default_value='' items=entry_group_list size='sm' /> <@inputGroupItem> <@button type='submit' title='#i18n{appointment.move.name}' name='add_to_group' value='#i18n{appointment.moveAll.name}' buttonIcon='arrows' showTitle=false />
<@table> #i18n{appointment.labelTitle} #i18n{appointment.type.name} <@icon style='question-circle' title='#i18n{appointment.createEntry.manageField.rowConditionalQuestion}' /> #i18n{appointment.createEntry.manageField.rowOrder} #i18n{appointment.actions.label}  <#list entry_list as entry> <#if entry.entryType.group> <#assign lastGroup = entry> <#if entry.entryType.group> <@icon style='indent' /> <#else> <#if entry.entryType.group>

${entry.title}

<#elseif entry.parent?exists> <@icon style='caret-right' /> <#if entry.entryType.comment> ${entry.comment} <#else> ${entry.title} <#elseif entry.entryType.myLuteceUser> <@icon style='caret-right' /> ${entry.title} <#else> <#if entry.entryType.comment> ${entry.comment} <#else> ${entry.title} <#if !entry.entryType.group> <@tag> <#list entryIconList as entryIcon> <#if entry.entryType.idType == 100+entryIcon?index+1> <@icon style='${entryIcon}' />  ${entry.entryType.title} <#if entry.numberConditionalQuestion!=0>${entry.numberConditionalQuestion} <#if entry.parent?exists> <@formGroup rows=2> <@inputGroup> <@comboOrders name="order_id_${entry.idEntry!}" default_value=entry.position idParent=entry.parent.idEntry /> <@inputGroupItem> <@button type='submit' name='id_entry' value='${entry.idEntry}' title='#i18n{appointment.move.name}' buttonIcon='check' showTitle=false /> <#else> <@formGroup rows=2> <@inputGroup> <@comboOrders name="order_id_${entry.idEntry!}" default_value=entry.position idParent=0 /> <@inputGroupItem> <@button type='submit' name='id_entry' title='#i18n{appointment.move.name}' value='${entry.idEntry}' buttonIcon='check' showTitle=false /> <#if !entry.entryType.myLuteceUser> <@aButton href='jsp/admin/plugins/appointment/ManageAppointmentFormEntries.jsp?view=getModifyEntry&id_entry=${entry.idEntry}' buttonIcon='edit' /> <#if entry.parent?exists> <@aButton href='jsp/admin/plugins/appointment/ManageAppointmentFormEntries.jsp?action=doMoveOutEntry&id_entry=${entry.idEntry}#list' title='#i18n{appointment.modifyField.manageConditionalQuestion.titleGoOut}' showTitle=false buttonIcon='outdent' /> <#if !entry.entryType.group && !entry.entryType.myLuteceUser> <@aButton href='jsp/admin/plugins/appointment/ManageAppointmentFormEntries.jsp?action=doCopyEntry&id_entry=${entry.idEntry}#list' title='#i18n{appointment.createEntry.manageField.titleCopy}' showTitle=false buttonIcon='copy' /> <@aButton href='jsp/admin/plugins/appointment/ManageAppointmentFormEntries.jsp?view=confirmRemoveEntry&id_entry=${entry.idEntry}#list' title='#i18n{appointment.delete.title}' showTitle=false buttonIcon='trash' color='btn-danger' />
<@columns md=3> <@listGroup> #i18n{appointment.modifyAppointmentForm.labelInsertEntry} <#list entry_type_list as item> <#list entryIconList as entryIcon> <#if item.code?number == 100+entryIcon?index+1> <@icon style='${entryIcon}' />  ${item.name} <#macro comboOrders name default_value idParent >