funky-framadate-front/src/app/features/administration/form/steps/step-six/step-six.component.html

35 lines
1.0 KiB
HTML
Raw Normal View History

<app-stepper [step_current]="6" [step_max]="pollService.step_max"></app-stepper>
2021-12-02 15:52:08 +01:00
<div class="step min-height">
<div class="min-height">
2021-11-18 10:49:55 +01:00
<form action="#" [formGroup]="pollService.form">
<h1 class="title is-1" id="step_title">
2022-02-02 17:59:55 +01:00
{{ 'owner.title' | translate }}
2022-02-28 13:41:33 +01:00
</h1>
2021-11-18 10:49:55 +01:00
<label for="name">
2022-02-02 17:59:55 +01:00
{{ 'owner.name_label' | translate }}
2021-11-18 10:49:55 +01:00
</label>
<input class="input" type="text" id="name" formControlName="creatorPseudo" />
<label for="email">
2022-02-02 17:59:55 +01:00
{{ 'owner.email_label' | translate }}
<span class="required-label" *ngIf="environment.creation_email_is_required">
{{ 'validation.required' | translate }}
</span>
2021-11-18 10:49:55 +01:00
</label>
2022-02-15 16:12:01 +01:00
<p class="description">
2022-02-02 17:59:55 +01:00
{{ 'owner.email_description' | translate }}
</p>
2022-03-14 11:18:17 +01:00
<input
class="input"
type="email"
id="email"
formControlName="creatorEmail"
pattern="[^@]+@[^@]+\.[a-zA-Z]{2,6}"
/>
2021-11-18 10:49:55 +01:00
</form>
</div>
</div>
<app-nav-steps
[next_step_number]="pollService.step_current + 1"
[previous_step_number]="pollService.step_current - 1"
></app-nav-steps>