Add format in date field labels.

This commit is contained in:
Alexis Lahouze 2017-07-26 23:12:03 +02:00
parent b7c44a39da
commit fab4880389

View File

@ -12,7 +12,7 @@ import { Schedule } from './schedule';
template: `
<form class="form-horizontal simple-form" novalidate (submit)="submit()" #form="ngForm">
<div class="form-group">
<label class="col-sm-4 control-label" for="start-date">Date de début</label>
<label class="col-sm-4 control-label" for="start-date">Date de début (AAAA-MM-JJ)</label>
<div class="col-sm-8">
<input class="form-control" id="start-date" name="start_date"
[(ngModel)]="schedule.start_date" [textMask]="{mask: dateMask}"
@ -21,7 +21,7 @@ import { Schedule } from './schedule';
</div>
<div class="form-group">
<label class="col-sm-4 control-label" for="stop-date">Date de fin</label>
<label class="col-sm-4 control-label" for="stop-date">Date de fin (AAAA-MM-JJ)</label>
<div class="col-sm-8">
<input class="form-control" id="stop-date" name="stop_date"
[(ngModel)]="schedule.stop_date" [textMask]="{mask: dateMask}"