mirror of
https://framagit.org/framasoft/framadate/funky-framadate-front.git
synced 2023-08-25 13:53:14 +02:00
hide some components
This commit is contained in:
parent
e63bbab755
commit
f3f2d6623b
@ -22,12 +22,12 @@
|
||||
<p class="subtitle">
|
||||
{{ 'creation.want' | translate }}
|
||||
</p>
|
||||
<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"
|
||||
[form]="form"
|
||||
></app-date-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"-->
|
||||
<!-- [form]="form"-->
|
||||
<!-- ></app-date-select>-->
|
||||
<!-- <app-text-select ng-if="!form.value.isAboutDate" [form]="form"></app-text-select>-->
|
||||
|
||||
<button
|
||||
@ -41,7 +41,8 @@
|
||||
<app-advanced-config [poll]="poll" [form]="form" *ngIf="advancedDisplayEnabled"></app-advanced-config>
|
||||
</div>
|
||||
</main>
|
||||
<footer class="column">
|
||||
<footer class="column" *ngIf="show_debug_data">
|
||||
<h2>Debug data</h2>
|
||||
<pre class="debug padded warning">
|
||||
form values :
|
||||
{{ form.value | json }}
|
||||
|
@ -19,6 +19,7 @@ export class FormComponent implements OnInit {
|
||||
public form: FormGroup;
|
||||
|
||||
public advancedDisplayEnabled = false;
|
||||
public show_debug_data = false;
|
||||
|
||||
constructor(
|
||||
private fb: FormBuilder,
|
||||
|
Loading…
Reference in New Issue
Block a user