-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathperiode_scinder_form.tpl
More file actions
26 lines (25 loc) · 1.26 KB
/
periode_scinder_form.tpl
File metadata and controls
26 lines (25 loc) · 1.26 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{* Smarty *}
<form class="form-horizontal" method="POST" target="_blank" id="periodForm">
<div class="form-group row col-md-12">
<label class="col-md-4 col-form-label">{#periode_scinder_dates#}</label>
<div class="col-md-5">
{$periode.date_debut|sqldate2userdate} - {$periode.date_fin|sqldate2userdate}
</div>
</div>
<div class="form-group row col-md-12">
<label class="col-md-4 col-form-label">{#periode_scinder_texte#}</label>
<div class="col-md-3">
{if $smarty.session.isMobileOrTablet==1}
<input type="date" class="form-control" name="date_scinder" id="date_scinder" maxlength="10" value="{$periode.date_debut|forceISODateFormat}" tabindex="4" />
{else}
<input type="text" class="form-control datepicker" name="date_scinder" id="date_scinder" maxlength="10" value="{$periode.date_debut|sqldate2userdate}" tabindex="4" />
{/if}
</div>
</div>
<div class="form-group row col-md-12">
<label class="col-md-4 col-form-label"></label>
<div class="col-md-3">
<button type="button" id="butSubmitPeriode" class="btn btn-primary" tabindex="24" onClick="this.disabled=true;xajax_periode_scinder_submit('{$periode.periode_id}', $('#date_scinder').val());">{#winPeriode_valider#|xss_protect}</button>
</div>
</div>
</form>