#include "/admin/plugins/forms/edit_form_tabs.html" />
<@box>
<@boxHeader title='#i18n{forms.modify_form.title} ${form.title!}' />
<@boxBody>
<@tabs>
<@formTabs tab="publication" />
@tabs>
<@tabContent>
<@tform class="form-horizontal" method="post" name="modify_form" action="jsp/admin/plugins/forms/ManageForms.jsp">
<@messages errors=errors />
<@formGroup labelKey='#i18n{forms.modify_form.labelTitle}' helpKey='#i18n{forms.modify_form.labelTitle.help}' mandatory=true>
<@input type='text' name='title' value='${form.title!}' />
@formGroup>
<@formGroup labelKey='#i18n{forms.modify_form.labelDescription}' helpKey='#i18n{forms.modify_form.labelDescription.help}' >
<@input type='textarea' name='description'>${form.description}@input>
@formGroup>
<@formGroup labelKey='#i18n{forms.modify_form.labelStartDate}' helpKey='#i18n{forms.modify_form.labelStartDate.help}' >
<@inputGroup>
<@input type='text' name='availabilityStartDate' id='availabilityStartDate' value='${form.availabilityStartDate!}' />
<@inputGroupItem type='addon'>
<@icon style='calendar' />
@inputGroupItem>
@inputGroup>
@formGroup>
<@formGroup labelKey='#i18n{forms.modify_form.labelEndDate}' helpKey='#i18n{forms.modify_form.labelEndDate.help}' >
<@inputGroup>
<@input type='text' name='availabilityEndDate' id='availabilityEndDate' value='${form.availabilityEndDate!}' />
<@inputGroupItem type='addon'>
<@icon style='calendar' />
@inputGroupItem>
@inputGroup>
@formGroup>
<@formGroup labelKey='#i18n{forms.modify_form.labelAuthentificationNeeded}' helpKey='#i18n{forms.modify_form.labelAuthentificationNeeded.help}' >
<@checkBox labelFor='authentificationNeeded' name='authentificationNeeded' id='authentificationNeeded' value='1' checked=(form?has_content && form.authentificationNeeded) />
@formGroup>
<#if workflow_list?has_content>
<@formGroup labelKey='#i18n{forms.modify_form.workflow.label}' helpKey='#i18n{forms.modify_form.workflow.label.help}'>
<@inputGroup>
<@select name='idWorkflow' items=workflow_list default_value='${form.idWorkflow!}' />
@inputGroup>
@formGroup>
#if>
@tform>
@tabContent>
@boxBody>
@box>
<@getDatePickerBootstrap idField="availabilityStartDate" language=locale />
<@getDatePickerBootstrap idField="availabilityEndDate" language=locale />