2019-08-10 16:20:59 +02:00
|
|
|
<div i18n>
|
2019-10-24 16:08:56 +02:00
|
|
|
{{"dates.title"|translate}}
|
2019-08-10 16:20:59 +02:00
|
|
|
</div>
|
2019-08-12 14:40:33 +02:00
|
|
|
|
2019-08-10 16:20:59 +02:00
|
|
|
<div>
|
2019-10-24 16:08:56 +02:00
|
|
|
<label for="multi_hours">
|
2019-08-10 16:57:36 +02:00
|
|
|
<span i18n>
|
|
|
|
Je souhaite mettre des créneaux horaires
|
|
|
|
</span>
|
2019-10-04 23:14:06 +02:00
|
|
|
<select
|
|
|
|
name="multi_hours"
|
|
|
|
id="multi_hours"
|
|
|
|
[(ngModel)]="config.allowSeveralHours"
|
|
|
|
>
|
2019-10-14 22:36:58 +02:00
|
|
|
<option value="true">{{"dates.multiple.different"|translate}}</option>
|
|
|
|
<option value="false">{{"dates.multiple.identical"|translate}}</option>
|
2019-10-04 23:14:06 +02:00
|
|
|
</select>
|
|
|
|
<span i18n>
|
2019-08-10 16:57:36 +02:00
|
|
|
pour chaque journée
|
|
|
|
</span>
|
2019-10-24 16:08:56 +02:00
|
|
|
</label>
|
2019-08-10 16:20:59 +02:00
|
|
|
</div>
|
2019-08-12 14:40:33 +02:00
|
|
|
|
2019-08-10 16:20:59 +02:00
|
|
|
<button
|
2019-10-24 16:08:56 +02:00
|
|
|
class="btn btn-primary"
|
|
|
|
(click)="addDate()"
|
|
|
|
i18n
|
2019-08-11 17:10:09 +02:00
|
|
|
>
|
2019-10-24 16:08:56 +02:00
|
|
|
{{"dates.add"|translate}}
|
2019-08-10 16:20:59 +02:00
|
|
|
</button>
|
|
|
|
<div class="dates-list">
|
2019-10-24 16:08:56 +02:00
|
|
|
{{config.dateList.length}}
|
|
|
|
<span i18n>
|
|
|
|
{{"dates.count_dates"|translate}}
|
|
|
|
</span>
|
2019-08-12 14:40:33 +02:00
|
|
|
|
2019-10-24 16:08:56 +02:00
|
|
|
<div
|
|
|
|
*ngFor="let choice of config.dateList; index as id"
|
|
|
|
class="date-choice"
|
|
|
|
>
|
|
|
|
<input
|
|
|
|
type="text"
|
|
|
|
name="dateChoices[]"
|
|
|
|
[(ngModel)]="choice.literal"
|
|
|
|
>
|
2019-08-12 14:40:33 +02:00
|
|
|
|
2019-10-24 16:08:56 +02:00
|
|
|
<button (click)="config.dateList.splice(id, 1)">X</button>
|
|
|
|
</div>
|
2019-08-10 16:20:59 +02:00
|
|
|
</div>
|
2019-08-12 14:40:33 +02:00
|
|
|
|
2019-08-11 17:10:09 +02:00
|
|
|
<a
|
2019-10-24 16:08:56 +02:00
|
|
|
[routerLink]="'/step/end'"
|
|
|
|
class="btn btn-block"
|
2019-08-12 14:40:33 +02:00
|
|
|
>
|
2019-10-24 16:08:56 +02:00
|
|
|
C'est parfait!
|
2019-08-11 17:10:09 +02:00
|
|
|
</a>
|