html_code_entry_type_date.html
1 <div class="form-group">
2 <label class="control-label col-xs-12 col-sm-12 col-md-3" for="attribute${entry.idEntry}">${entry.title}<#if entry.mandatory> *</#if></label>
3 <#assign field = getFieldByCode( entry, "default_date_value" ) >
4 <div class="col-xs-12 col-sm-12 col-md-9">
5 <div class="input-group">
6 <span class="input-group-add-on">
7 <i class="fa fa-calendar"></i>
8 </span>
9 <input type="text" name="attribute${entry.idEntry}" id="attribute${entry.idEntry}" class="form-control ${entry.CSSClass!}
10 <#if list_responses??>
11 <#list list_responses as response>
12 <#if response.entry.idEntry == entry.idEntry>
13 <#if response.entry.error??>error</#if>" <#if response.toStringValueResponse??>value="${response.toStringValueResponse}"</#if>
14 </#if>
15 </#list>
16 <#else>
17 <#if field.valueTypeDate?exists>" value="${field.valueTypeDate}" <#else>" value="" </#if></#if>/>
18 </div>
19 <#if entry.helpMessage?exists&&entry.helpMessage!=''>
20 <p class="help-block">${entry.helpMessage}</p>
21 </#if>
22 <#if list_responses??>
23 <#list list_responses as response>
24 <#if response.entry.idEntry == entry.idEntry && response.entry.error??>
25 <div class="alert alert-error">
26 <#assign error = response.entry.error>
27 <#if error.mandatoryError>
28 #i18n{announce.message.mandatory.entry}
29 <#else>
30 ${error.errorMessage}
31 </#if>
32 </div>
33 </#if>
34 </#list>
35 </#if>
36 </div>
37 </div>
38
39 <@getDatePickerBootstrap idField="attribute${entry.idEntry}" language=locale />