Add format in date field labels.
This commit is contained in:
parent
b7c44a39da
commit
fab4880389
@ -12,7 +12,7 @@ import { Schedule } from './schedule';
|
|||||||
template: `
|
template: `
|
||||||
<form class="form-horizontal simple-form" novalidate (submit)="submit()" #form="ngForm">
|
<form class="form-horizontal simple-form" novalidate (submit)="submit()" #form="ngForm">
|
||||||
<div class="form-group">
|
<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">
|
<div class="col-sm-8">
|
||||||
<input class="form-control" id="start-date" name="start_date"
|
<input class="form-control" id="start-date" name="start_date"
|
||||||
[(ngModel)]="schedule.start_date" [textMask]="{mask: dateMask}"
|
[(ngModel)]="schedule.start_date" [textMask]="{mask: dateMask}"
|
||||||
@ -21,7 +21,7 @@ import { Schedule } from './schedule';
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="form-group">
|
<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">
|
<div class="col-sm-8">
|
||||||
<input class="form-control" id="stop-date" name="stop_date"
|
<input class="form-control" id="stop-date" name="stop_date"
|
||||||
[(ngModel)]="schedule.stop_date" [textMask]="{mask: dateMask}"
|
[(ngModel)]="schedule.stop_date" [textMask]="{mask: dateMask}"
|
||||||
|
Loading…
Reference in New Issue
Block a user