2019-08-09 15:14:23 +02:00
|
|
|
<div class="description">
|
2019-10-24 16:08:56 +02:00
|
|
|
<router-outlet></router-outlet>
|
|
|
|
<h1 i18n>
|
|
|
|
{{"creation.title"|translate}}
|
|
|
|
</h1>
|
|
|
|
<span
|
|
|
|
class="pre-selector"
|
|
|
|
i18n
|
|
|
|
>
|
|
|
|
{{"creation.want"|translate}}
|
|
|
|
</span>
|
|
|
|
<select
|
|
|
|
id="selector"
|
|
|
|
name="selector"
|
|
|
|
autofocus="autofocus"
|
|
|
|
[(ngModel)]="config.pollType"
|
|
|
|
>
|
|
|
|
<option value="dates">
|
|
|
|
{{"creation.kind.date"|translate}}
|
|
|
|
</option>
|
|
|
|
<option value="classic">
|
|
|
|
{{"creation.kind.classic"|translate}}
|
|
|
|
</option>
|
|
|
|
</select>
|
2019-08-10 11:06:13 +02:00
|
|
|
|
2019-10-24 16:08:56 +02:00
|
|
|
<span class="post-selector">
|
|
|
|
</span>
|
2019-08-09 17:43:23 +02:00
|
|
|
|
2019-10-24 16:08:56 +02:00
|
|
|
<div>
|
2019-08-09 15:14:23 +02:00
|
|
|
|
2019-10-24 16:08:56 +02:00
|
|
|
<label
|
|
|
|
for="poll_title"
|
|
|
|
class="title-label"
|
|
|
|
i18n
|
|
|
|
>
|
|
|
|
{{"creation.choose_title"|translate}}
|
|
|
|
</label>
|
|
|
|
<input
|
2020-01-15 17:55:22 +01:00
|
|
|
type="name"
|
2019-10-24 16:08:56 +02:00
|
|
|
id="poll_title"
|
|
|
|
name="poll_title"
|
2019-11-12 21:29:53 +01:00
|
|
|
placeholder="{{'creation.choose_title_placeholder'|translate}}"
|
2019-10-24 16:08:56 +02:00
|
|
|
[(ngModel)]="config.title"
|
|
|
|
>
|
|
|
|
</div>
|
2019-08-09 17:43:23 +02:00
|
|
|
|
2019-10-24 16:08:56 +02:00
|
|
|
<div>
|
|
|
|
<label for="my_name">
|
|
|
|
{{"creation.name"|translate}} :
|
|
|
|
</label>
|
|
|
|
<input
|
2020-01-15 17:55:22 +01:00
|
|
|
type="name"
|
2019-10-24 16:08:56 +02:00
|
|
|
name="my_name"
|
|
|
|
id="my_name"
|
2019-11-12 21:29:53 +01:00
|
|
|
placeholder="{{'creation.name_placeholder'|translate}}"
|
2019-10-24 16:08:56 +02:00
|
|
|
[(ngModel)]="config.myName"
|
|
|
|
>
|
|
|
|
</div>
|
2019-08-09 17:43:23 +02:00
|
|
|
|
2019-10-24 16:08:56 +02:00
|
|
|
<div>
|
|
|
|
<label
|
|
|
|
for="poll_description"
|
|
|
|
class="title-label"
|
|
|
|
i18n
|
|
|
|
>
|
|
|
|
{{"creation.description"|translate}}
|
|
|
|
</label>
|
|
|
|
<textarea
|
|
|
|
id="poll_description"
|
|
|
|
name="poll_description"
|
|
|
|
[(ngModel)]="config.description"
|
|
|
|
placeholder="description"
|
|
|
|
cols="50"
|
|
|
|
lines="5"
|
|
|
|
></textarea>
|
|
|
|
</div>
|
2019-08-10 16:20:59 +02:00
|
|
|
|
2019-09-30 19:07:00 +02:00
|
|
|
<button
|
2019-08-21 14:24:54 +02:00
|
|
|
[routerLink]="'/step/answers'"
|
2019-11-12 21:10:58 +01:00
|
|
|
class="btn btn-block"
|
2019-08-21 14:24:54 +02:00
|
|
|
i18n
|
|
|
|
>
|
|
|
|
Continuer
|
2019-09-30 19:07:00 +02:00
|
|
|
</button>
|
|
|
|
<a
|
|
|
|
[routerLink]="'/step/answers'"
|
|
|
|
class="prev"
|
|
|
|
i18n
|
|
|
|
>
|
|
|
|
Retour
|
2019-10-24 16:08:56 +02:00
|
|
|
</a>
|
|
|
|
<hr>
|
2019-08-09 15:14:23 +02:00
|
|
|
</div>
|