<@row> <@columns> <@box color='primary'> <#if template.idCalendarTemplate?? && template.idCalendarTemplate > 0> <#assign boxHeaderTitle = '#i18n{appointment.createModifyCalendarTemplate.pageTitleModify}' /> <#else> <#assign boxHeaderTitle = '#i18n{appointment.labelAddTemplate}' /> <@boxHeader title='${boxHeaderTitle}' /> <@boxBody> <@tform action='jsp/admin/plugins/appointment/ManageCalendarTemplates.jsp'>
<@messages infos=infos errors=errors /> <@formGroup labelKey='#i18n{appointment.labelTitle}'> <@input type='text' name='title' id='title' value='${(template.title)!}' maxlength=255 /> <@formGroup labelKey='#i18n{appointment.labelDescription}'> <@input type='text' name='description' id='description' value='${(template.description)!}' maxlength=255 /> <@formGroup labelKey='#i18n{appointment.createModifyCalendarTemplate.labelTemplatePath}'> <@inputGroup> <@select items=refListTemplates default_value=(template.templatePath)!'' name='templatePath' /> <@inputGroupItem> <@button type='submit' name='action' value='doDownloadTemplate' title='#i18n{portal.util.labelDownload}' buttonIcon='download' title='#i18n{portal.util.labelDownload}' /> <@formGroup> <#if (template.idCalendarTemplate)?? && template.idCalendarTemplate > 0> <@button type='submit' name='action' id='action' value='doCreateModifyTemplate' buttonIcon='check' title='#i18n{portal.util.labelOk}' /> <@aButton href='jsp/admin/plugins/appointment/ManageCalendarTemplates.jsp' buttonIcon='times' title='#i18n{portal.util.labelBack}' color='btn-default' />