forked from tykayn/funky-framadate-front
advanced button change color when active
This commit is contained in:
parent
77cf4c6d04
commit
ce00a3ce69
@ -22,12 +22,16 @@
|
||||
<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 ng-if="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.isAboutDate" [form]="form"></app-date-select>
|
||||
<!-- <app-text-select ng-if="!form.value.isAboutDate" [form]="form"></app-text-select>-->
|
||||
|
||||
<button class="btn is-info" (click)="advancedDisplayEnabled = !advancedDisplayEnabled">
|
||||
<button
|
||||
class="btn"
|
||||
[class]="{ 'is-primary': advancedDisplayEnabled, 'is-info': !advancedDisplayEnabled }"
|
||||
(click)="advancedDisplayEnabled = !advancedDisplayEnabled"
|
||||
>
|
||||
<i class="fa fa-save"></i>
|
||||
{{ 'creation.advanced' | translate }}
|
||||
</button>
|
||||
|
Loading…
Reference in New Issue
Block a user