2019-08-10 16:21:12 +02:00
|
|
|
<div class="well debug">
|
2019-10-24 16:08:56 +02:00
|
|
|
<strong>
|
|
|
|
<h2 i18n>
|
|
|
|
infos de debug
|
|
|
|
</h2>
|
|
|
|
<span class="demo">
|
|
|
|
{{"config.demo"|translate}}
|
|
|
|
</span>
|
|
|
|
</strong>
|
|
|
|
<ul>
|
|
|
|
<li>
|
|
|
|
étape actuelle {{config.step}} / {{config.stepMax}}
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
formulaire valide : {{formIsValid}}
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
type de formulaire: {{config.pollType}}
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
config:
|
|
|
|
<pre>
|
|
|
|
{{config|json}}
|
|
|
|
</pre>
|
|
|
|
</li>
|
|
|
|
</ul>
|
2019-08-10 16:21:12 +02:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<span i18n>
|
|
|
|
Choix cornélien syncronisé:
|
|
|
|
</span>
|
|
|
|
<!-- todo: factoriser les boutons-->
|
|
|
|
<button
|
2019-08-21 14:24:54 +02:00
|
|
|
(click)="config.set('pollType' , 'classic')"
|
|
|
|
[class.active]="config.pollType == 'classic'"
|
|
|
|
[disabled]="!formIsValid"
|
2019-10-16 21:33:49 +02:00
|
|
|
class="btn btn--primary next"
|
2019-08-10 16:21:12 +02:00
|
|
|
>
|
|
|
|
<span i18n>
|
|
|
|
sondage classique
|
|
|
|
</span>
|
2019-08-21 14:24:54 +02:00
|
|
|
<span *ngIf="config.pollType == 'classic'">
|
2019-08-10 16:21:12 +02:00
|
|
|
[x]
|
|
|
|
</span>
|
|
|
|
|
|
|
|
</button>
|
|
|
|
<button
|
2019-08-21 14:24:54 +02:00
|
|
|
(click)="selectOption('pollType' ,'dates')"
|
|
|
|
[class.active]="config.pollType == 'dates'"
|
|
|
|
[disabled]="!formIsValid"
|
2019-10-16 21:33:49 +02:00
|
|
|
class="btn btn--primary next"
|
2019-08-10 16:21:12 +02:00
|
|
|
>
|
|
|
|
<span i18n>
|
|
|
|
sondage spécial date
|
|
|
|
</span>
|
2019-08-21 14:24:54 +02:00
|
|
|
<span *ngIf="config.pollType == 'dates'">
|
2019-08-10 16:21:12 +02:00
|
|
|
[x]
|
|
|
|
</span>
|
|
|
|
|
|
|
|
</button>
|
|
|
|
|
2019-08-11 17:10:09 +02:00
|
|
|
<button
|
2019-10-16 21:33:49 +02:00
|
|
|
class="btn btn--primary"
|
2019-08-21 14:24:54 +02:00
|
|
|
i18n
|
|
|
|
(click)="config.sendForm()"
|
2019-08-11 17:10:09 +02:00
|
|
|
>
|
2019-10-24 16:08:56 +02:00
|
|
|
Envoyer le formulaire
|
2019-08-10 16:21:12 +02:00
|
|
|
</button>
|