<@row> <@columns> <@box color='primary'> <@boxHeader title='#i18n{appointment.modifyAppointmentForm.title} : ${appointmentform.title}' /> <@boxBody> <@messages infos=infos errors=errors /> <#macro appointmentTabs tab appointmentform> <@tabs> <@listTabs>
  • class="active"> #i18n{appointment.modifyAppointmentForm.titleAlterablesParameters}
  • class="active"> #i18n{appointment.modifyAppointmentFormEntries.pageTitle}
  • <#if isResourceInstalled?? && isResourceInstalled>
  • class="active"> #i18n{module.appointment.resource.manageAppointmentFormResources.pageTitle}
  • <@tabContent> <#nested> <#macro modifyAppointmentFormLeftColumn appointmentform >
    <@tform id='formid' action='jsp/admin/plugins/appointment/ManageAppointmentForms.jsp' params='enctype="multipart/form-data"'> <@formGroup labelFor='title' labelKey='#i18n{appointment.createAppointmentForm.labelTitle}' helpKey='#i18n{appointment.createAppointmentForm.labelTitle}' mandatory=true> <@input type='text' name='title' id='title' value=appointmentform.title!'' maxlength=255 /> <@formGroup labelFor='idCategory' labelKey='#i18n{appointment.createAppointmentForm.labelCategory}'> <@select name='idCategory' id='idCategory' items=listCategories default_value='${appointmentform.idCategory!}' /> <@formGroup labelFor='description' labelKey='#i18n{appointment.labelDescription}' helpKey='#i18n{appointment.labelDescription}' mandatory=true> <@input type='textarea' name='description' id='description'>${appointmentform.description!} <@formGroup labelFor='min_time_before_appointment' labelKey='#i18n{appointment.createAppointmentForm.labelMinTimeBeforeAppointment}' helpKey='#i18n{appointment.createAppointmentForm.labelMinTimeBeforeAppointment.help}' mandatory=true> <@input type='text' name='min_time_before_appointment' id='min_time_before_appointment' value=appointmentform.minTimeBeforeAppointment!'' params='onkeypress="return validateQty(event);"' maxlength=3 /> <@formGroup labelFor='date_start_validity' labelKey='#i18n{appointment.createAppointmentForm.labelDateStartValidity}' helpKey='#i18n{appointment.createAppointmentForm.labelDateStartValidity.help}'> <@inputGroup> <@inputGroupItem type='addon'> <@icon style='calendar' /> <@input type='text' name='date_start_validity' id='date_start_validity' value=appointmentform.dateStartValidity!'' /> <@formGroup labelFor='date_end_validity' labelKey='#i18n{appointment.createAppointmentForm.labelDateEndValidity}' helpKey='#i18n{appointment.createAppointmentForm.labelDateEndValidity.help}'> <@inputGroup> <@inputGroupItem type='addon'> <@icon style='calendar' /> <@input type='text' name='date_end_validity' id='date_end_validity' value=appointmentform.dateEndValidity!'' /> <@formGroup labelFor='display_title_fo' labelKey='#i18n{appointment.label.displayTitleFo}' helpKey='#i18n{appointment.label.displayTitleFo.help}'> <@checkBox labelFor='display_title_fo' name='display_title_fo' value='true' checked=appointmentform.displayTitleFo!false /> <@formGroup labelFor='is_displayed_on_portlet' labelKey='#i18n{appointment.label.displayOnPortlet}' helpKey='#i18n{appointment.label.displayOnPortlet.help}'> <@checkBox labelFor='is_displayed_on_portlet' name='is_displayed_on_portlet' value='true' checked=appointmentform.isDisplayedOnPortlet!false /> <@formGroup labelFor='nb_weeks_to_display' labelKey='#i18n{appointment.label.nbWeeksToDisplay}' helpKey='#i18n{appointment.label.nbWeeksToDisplay.help}' mandatory=true> <@input type='text' name='nb_weeks_to_display' id='nb_weeks_to_display' value=appointmentform.nbWeeksToDisplay!'' params='onkeypress="return validateQty(event);"' maxlength=3 /> <@formGroup labelFor='nb_days_before_new_appointment' labelKey='#i18n{appointment.createAppointmentForm.labelNbDaysBeforeNewAppointment}' helpKey='#i18n{appointment.createAppointmentForm.labelNbDaysBeforeNewAppointment.help}' mandatory=true> <@input type='text' name='nb_days_before_new_appointment' id='nb_days_before_new_appointment' value=appointmentform.nbDaysBeforeNewAppointment!'' params='onkeypress="return validateQty(event);"' maxlength=2 /> <@formGroup labelFor='nb_max_appointments_per_user' labelKey='#i18n{appointment.createAppointmentForm.labelNbMaxAppointments}' helpKey='#i18n{appointment.createAppointmentForm.labelNbMaxAppointments.help}' mandatory=true> <@input type='text' name='nb_max_appointments_per_user' id='nb_max_appointments_per_user' value=appointmentform.nbMaxAppointmentsPerUser!'' params='onkeypress="return validateQty(event);"' maxlength=2 /> <@formGroup labelFor='nb_days_for_max_appointments_per_user' labelKey='#i18n{appointment.createAppointmentForm.labelNbDaysForMaxAppointments}' helpKey='#i18n{appointment.createAppointmentForm.labelNbDaysForMaxAppointments.help}' mandatory=true> <@input type='text' name='nb_days_for_max_appointments_per_user' id='nb_days_for_max_appointments_per_user' value=appointmentform.nbDaysForMaxAppointmentsPerUser!'' params='onkeypress="return validateQty(event);"' maxlength=2 /> <@formGroup labelFor='reference' labelKey='#i18n{appointment.createAppointmentForm.labelReference}' helpKey='#i18n{appointment.createAppointmentForm.labelReference.help}'> <@input type='text' name='reference' id='reference' value=appointmentform.reference!'' maxlength=10 /> <@formGroup labelFor='calendarTemplateId' labelKey='#i18n{appointment.createAppointmentForm.labelCalendarTemplate}' helpKey='#i18n{}' mandatory=true> <@select name='calendarTemplateId' id='calendarTemplateId' items=refListCalendarTemplates default_value='${appointmentform.calendarTemplateId!}' /> <#if isCaptchaEnabled> <@formGroup labelFor='enableCaptcha'> <@checkBox labelFor='enableCaptcha' labelKey='#i18n{appointment.createAppointmentForm.labelEnableCaptcha}' name='enableCaptcha' id='enableCaptcha' value='true' checked=appointmentform.enableCaptcha!false /> <@formGroup labelFor='enableMandatoryEmail'> <@checkBox labelFor='enableMandatoryEmail' labelKey='#i18n{appointment.createAppointmentForm.labelEnableMandatoryEmail}' name='enableMandatoryEmail' id='enableMandatoryEmail' value='true' checked=appointmentform.enableMandatoryEmail!false /> <@formGroup labelFor='activeAuthentication'> <@checkBox labelFor='activeAuthentication' labelKey='#i18n{appointment.createAppointmentForm.labelActiveAuthentication}' name='activeAuthentication' id='activeAuthentication' value='true' checked=appointmentform.activeAuthentication!false /> <#if listWorkflows??> <@formGroup labelFor='idWorkflow' labelKey='#i18n{appointment.createAppointmentForm.labelWorkflow}'> <@select name='idWorkflow' id='idWorkflow' items=listWorkflows default_value='${appointmentform.idWorkflow!}' /> <@formGroup labelFor='workgroup' labelKey='#i18n{appointment.createAppointmentForm.labelWorkgroup}'> <@select name='workgroup' id='workgroup' items=user_workgroup_list default_value='${appointmentform.workgroup!}' /> <#if appointmentform.getIcon()??> <#assign xicon= appointmentform.getIcon()> <#if xicon.mimeType?? > <@formGroup labelFor='deleteIcon' labelKey='#i18n{appointment.modifyAppointmentForm.deleteIcon}'> <@checkBox labelFor='deleteIcon' labelKey='#i18n{appointment.modifyAppointmentForm.deleteIcon}' name='deleteIcon' value='true' /> <@formGroup labelFor='image_resource' labelKey='#i18n{appointment.createAppointmentForm.labelIconForm}' helpKey='#i18n{appointment.modifyAppointmentForm.helpFormatIcon}'> <@inputGroup> <@input type='file' name='image_resource' id='image_resource' params='accept="image/*"' /> <@inputGroupItem> <@button type='button' name='remove_img' id='remove_img' title='Effacer' size='' color='btn-primary' params='onclick="$(\'#image_resource\').val(\'\')"' buttonIcon='times' /> <@formGroup labelFor='fileHolidays' labelKey='#i18n{appointment.manageHolidays.labelImport}' helpKey='#i18n{appointment.manageHolidays.labelClosinglabelFormatFile}'> <@inputGroup> <@input type='file' name='fileClosingDays' id='fileClosingDays' params='accept=".csv, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/vnd.ms-excel"' /> <@inputGroupItem> <@button type='button' name='remove_file' id='remove_file' title='Effacer' size='' color='btn-primary' params='onclick="$(\'#fileClosingDays\').val(\'\')"' buttonIcon='times' /> <@formGroup labelFor='geoloc_address' labelKey='#i18n{appointment.label.formAddress}' helpKey='#i18n{appointment.help.formAddress}'> <@input type='text' name='geoloc_address' id='geoloc_address' value='${(appointmentform.address?html)!}' /> <@input type='text' name='geoloc_longitude' id='geoloc_longitude' value='${(appointmentform.longitude?c)!}' /> <@input type='text' name='geoloc_latitude' id='geoloc_latitude' value='${(appointmentform.latitude?c)!}' />

    #i18n{appointment.label.addressDescription}

    <@formGroup> <@button type='submit' name='action_modifyAppointmentForm' title='#i18n{portal.util.labelModify}' buttonIcon='save' size='' /> <@button type='submit' name='view_manageAppointmentForms' title='#i18n{portal.util.labelCancel}' buttonIcon='times' size='' color='btn-secondary' />
    <@getDatePickerBootstrap idField="date_start_validity" language=language /> <@getDatePickerBootstrap idField="date_end_validity" language=language />