forked from tykayn/funky-framadate-front
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">
|
<p class="subtitle">
|
||||||
{{ 'creation.want' | translate }}
|
{{ 'creation.want' | translate }}
|
||||||
</p>
|
</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-base-config [form]="form"></app-base-config>-->
|
||||||
<!-- <app-date-select-->
|
<!-- <app-date-select-->
|
||||||
<!-- *ngIf="form.value.configuration && form.value.configuration.isAboutDate"-->
|
<!-- *ngIf="form.value.configuration && form.value.configuration.isAboutDate"-->
|
||||||
|
@ -1,6 +1,17 @@
|
|||||||
<div class="kind-select form-field">
|
<div class="kind-select form-field">
|
||||||
<div class="kind-of-poll columns">
|
<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
|
<button
|
||||||
class="btn-block btn"
|
class="btn-block btn"
|
||||||
[ngClass]="{ 'is-primary': form.value.configuration.isAboutDate }"
|
[ngClass]="{ 'is-primary': form.value.configuration.isAboutDate }"
|
||||||
|
@ -8,6 +8,7 @@ import { FormGroup } from '@angular/forms';
|
|||||||
styleUrls: ['./kind-select.component.scss'],
|
styleUrls: ['./kind-select.component.scss'],
|
||||||
})
|
})
|
||||||
export class KindSelectComponent implements OnInit {
|
export class KindSelectComponent implements OnInit {
|
||||||
|
public template_questions_answers = true;
|
||||||
@Input()
|
@Input()
|
||||||
public poll?: Poll;
|
public poll?: Poll;
|
||||||
@Input()
|
@Input()
|
||||||
|
Loading…
Reference in New Issue
Block a user