mirror of
https://framagit.org/framasoft/framadate/funky-framadate-front.git
synced 2023-08-25 13:53:14 +02:00
choice template questions
This commit is contained in:
parent
f3f2d6623b
commit
21040df287
1
CHANGELOG.md
Normal file
1
CHANGELOG.md
Normal file
@ -0,0 +1 @@
|
||||
# Changelog
|
@ -22,7 +22,8 @@
|
||||
<p class="subtitle">
|
||||
{{ 'creation.want' | translate }}
|
||||
</p>
|
||||
<!-- <app-kind-select [form]="form"></app-kind-select>-->
|
||||
|
||||
<app-kind-select [form]="form"></app-kind-select>
|
||||
<!-- <app-base-config [form]="form"></app-base-config>-->
|
||||
<!-- <app-date-select-->
|
||||
<!-- *ngIf="form.value.configuration && form.value.configuration.isAboutDate"-->
|
||||
|
@ -1,6 +1,17 @@
|
||||
<div class="kind-select form-field">
|
||||
<div class="kind-of-poll columns">
|
||||
<div class="column">
|
||||
<div class="column" *ngIf="template_questions_answers">
|
||||
<!-- version maquette questions réponses-->
|
||||
{{ 'creation.want' | translate }}
|
||||
<select name="type" id="type" class="input">
|
||||
<option value="classic">{{ 'creation.kind.classic' | translate }}</option>
|
||||
<option value="date">{{ 'creation.kind.date' | translate }}</option>
|
||||
</select>
|
||||
{{ 'creation.choose_title' | translate }}
|
||||
<input type="text" name="title" class="input" />
|
||||
</div>
|
||||
<!-- version avec un choix de bouton-->
|
||||
<div class="column" *ngIf="!template_questions_answers">
|
||||
<button
|
||||
class="btn-block btn"
|
||||
[ngClass]="{ 'is-primary': form.value.configuration.isAboutDate }"
|
||||
|
@ -8,6 +8,7 @@ import { FormGroup } from '@angular/forms';
|
||||
styleUrls: ['./kind-select.component.scss'],
|
||||
})
|
||||
export class KindSelectComponent implements OnInit {
|
||||
public template_questions_answers = true;
|
||||
@Input()
|
||||
public poll?: Poll;
|
||||
@Input()
|
||||
|
Loading…
Reference in New Issue
Block a user