|
|
|
@ -1,79 +1,92 @@
|
|
|
|
|
<div class="description">
|
|
|
|
|
<router-outlet></router-outlet>
|
|
|
|
|
<h1 i18n>
|
|
|
|
|
{{"creation.title"|translate}}
|
|
|
|
|
</h1>
|
|
|
|
|
<span
|
|
|
|
|
class="pre-selector"
|
|
|
|
|
i18n
|
|
|
|
|
>
|
|
|
|
|
<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>
|
|
|
|
|
<select
|
|
|
|
|
[(ngModel)]="config.pollType"
|
|
|
|
|
autofocus="autofocus"
|
|
|
|
|
id="selector"
|
|
|
|
|
name="selector"
|
|
|
|
|
>
|
|
|
|
|
<option value="dates">
|
|
|
|
|
{{"creation.kind.date"|translate}}
|
|
|
|
|
</option>
|
|
|
|
|
<option value="classic">
|
|
|
|
|
{{"creation.kind.classic"|translate}}
|
|
|
|
|
</option>
|
|
|
|
|
</select>
|
|
|
|
|
|
|
|
|
|
<span class="post-selector">
|
|
|
|
|
<span class="post-selector">
|
|
|
|
|
</span>
|
|
|
|
|
|
|
|
|
|
<div>
|
|
|
|
|
<div>
|
|
|
|
|
|
|
|
|
|
<label
|
|
|
|
|
for="poll_title"
|
|
|
|
|
class="title-label"
|
|
|
|
|
i18n
|
|
|
|
|
>
|
|
|
|
|
{{"creation.choose_title"|translate}}
|
|
|
|
|
</label>
|
|
|
|
|
<input
|
|
|
|
|
type="name"
|
|
|
|
|
id="poll_title"
|
|
|
|
|
name="poll_title"
|
|
|
|
|
placeholder="{{'creation.choose_title_placeholder'|translate}}"
|
|
|
|
|
[(ngModel)]="config.title"
|
|
|
|
|
>
|
|
|
|
|
</div>
|
|
|
|
|
<label
|
|
|
|
|
class="title-label"
|
|
|
|
|
for="poll_title"
|
|
|
|
|
i18n
|
|
|
|
|
>
|
|
|
|
|
{{"creation.choose_title"|translate}}
|
|
|
|
|
</label>
|
|
|
|
|
<input
|
|
|
|
|
[(ngModel)]="config.title"
|
|
|
|
|
id="poll_title"
|
|
|
|
|
name="poll_title"
|
|
|
|
|
placeholder="{{'creation.choose_title_placeholder'|translate}}"
|
|
|
|
|
type="name"
|
|
|
|
|
>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div>
|
|
|
|
|
<label for="my_name">
|
|
|
|
|
{{"creation.name"|translate}} :
|
|
|
|
|
</label>
|
|
|
|
|
<input
|
|
|
|
|
type="name"
|
|
|
|
|
name="my_name"
|
|
|
|
|
id="my_name"
|
|
|
|
|
placeholder="{{'creation.name_placeholder'|translate}}"
|
|
|
|
|
[(ngModel)]="config.myName"
|
|
|
|
|
>
|
|
|
|
|
</div>
|
|
|
|
|
<div>
|
|
|
|
|
<label for="my_name">
|
|
|
|
|
{{"creation.name"|translate}} :
|
|
|
|
|
</label>
|
|
|
|
|
<input
|
|
|
|
|
[(ngModel)]="config.myName"
|
|
|
|
|
id="my_name"
|
|
|
|
|
name="my_name"
|
|
|
|
|
placeholder="{{'creation.name_placeholder'|translate}}"
|
|
|
|
|
type="name"
|
|
|
|
|
>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<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>
|
|
|
|
|
<div>
|
|
|
|
|
<label
|
|
|
|
|
class="title-label"
|
|
|
|
|
for="poll_description"
|
|
|
|
|
i18n
|
|
|
|
|
>
|
|
|
|
|
{{"creation.description"|translate}}
|
|
|
|
|
</label>
|
|
|
|
|
<textarea
|
|
|
|
|
[(ngModel)]="config.description"
|
|
|
|
|
cols="50"
|
|
|
|
|
id="poll_description"
|
|
|
|
|
lines="5"
|
|
|
|
|
name="poll_description"
|
|
|
|
|
placeholder="description"
|
|
|
|
|
></textarea>
|
|
|
|
|
</div>
|
|
|
|
|
<div>
|
|
|
|
|
<label for="email">
|
|
|
|
|
Mon email pour administrer le sondage est
|
|
|
|
|
</label>
|
|
|
|
|
<input
|
|
|
|
|
[(ngModel)]="config.myEmail"
|
|
|
|
|
autofocus="autofocus"
|
|
|
|
|
id="email"
|
|
|
|
|
name="mail"
|
|
|
|
|
required="required"
|
|
|
|
|
type="email"
|
|
|
|
|
/>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<button
|
|
|
|
|
[routerLink]="'/step/answers'"
|
|
|
|
@ -88,6 +101,6 @@
|
|
|
|
|
i18n
|
|
|
|
|
>
|
|
|
|
|
Retour
|
|
|
|
|
</a>
|
|
|
|
|
<hr>
|
|
|
|
|
</a>
|
|
|
|
|
<hr>
|
|
|
|
|
</div>
|
|
|
|
|