#include "/admin/plugins/forms/edit_form_tabs.html" />
<#include "/admin/plugins/forms/commons.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 />
<#-- problem with populate method because it puts the value of checkbox to false -->
<#if form?has_content && form.displaySummary>
#if>
<#if formMessage?has_content && formMessage.endMessageDisplay>
#if>
<#if form?has_content && form.oneResponseByUser>
#if>
<#if form?has_content && form.authentificationNeeded>
#if>
<@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 labelFor='max_number_response' labelKey='#i18n{forms.createForm.labelMaxNumberResponse}' helpKey='#i18n{forms.createForm.labelMaxNumberResponseComment.help}'>
<@input name='maxNumberResponse' id='MaxNumberResponse' type='number' value=form.maxNumberResponse?string!'0' />
@formGroup>
@tform>
@tabContent>
@boxBody>
@box>
<@getDatePickerBootstrap idField="availabilityStartDate" language=locale />
<@getDatePickerBootstrap idField="availabilityEndDate" language=locale />