@box>
<@boxHeader title='#i18n{transparency.modify_appointment.title}' />
<@boxBody>
<@tform class="form-horizontal" method="post" name="modify_appointment" action="jsp/admin/plugins/transparency/ManageAppointments.jsp">
<@messages errors=errors />
<@formGroup labelKey='#i18n{transparency.modify_appointment.labelElectedOfficial}' mandatory=false >
<#list appointment.electedOfficialList as electedOfficial>
${electedOfficial.lastName}
#list>
@formGroup>
<@formGroup labelKey='#i18n{transparency.modify_appointment.labelTitle}' helpKey='#i18n{transparency.modify_appointment.labelTitle.help}' mandatory=true>
<@input type='text' name='title' value='${appointment.title}' />
@formGroup>
<@formGroup labelKey='#i18n{transparency.modify_appointment.labelDescription}' helpKey='#i18n{transparency.modify_appointment.labelDescription.help}' >
<@input type='text' name='description' value='${appointment.description}' />
@formGroup>
<@formGroup labelKey='#i18n{transparency.modify_appointment.labelStartDate}' helpKey='#i18n{transparency.modify_appointment.labelStartDate.help}' mandatory=true>
<@input type='text' name='start_date' id='start_date' value='${appointment.startDate}' />
@formGroup>
<@formGroup labelKey='#i18n{transparency.modify_appointment.contactsLabel}' helpKey='#i18n{transparency.modify_appointment.contactsLabel.help}' >
<@input type="text" name="contacts" value="${appointment.contacts!''}" />
@formGroup>
<@formGroup labelKey='#i18n{transparency.modify_appointment.labelLobby}' mandatory=false >
<#list appointment.lobbyList as lobby>
${lobby.name}
#list>
@formGroup>
<@formGroup labelKey='#i18n{transparency.modify_appointment.labelNewLobby}' helpKey='#i18n{transparency.create_appointment.labelNewLobby.help}' >
<@input type='text' name='lobby_select' id='lobby_select' value='' />
@formGroup>
<#assign idFirstLobby = 0 />
<#if appointment.lobbyList?? && appointment.lobbyList[0]?? >
<#assign idFirstLobby = appointment.lobbyList[0].id />
#if>
<@actionButtons button1Name="action_modifyAppointment" button2Name="view_manageAppointment"/>
@tform>
@boxBody>
@box>
<@getDatePickerBootstrap idField="start_date" language=.locale />