|
@@ -241,12 +241,6 @@ template(name="cardDetails")
|
|
|
|
|
|
//.card-details-items
|
|
|
if customFieldsWD
|
|
|
- .material-toggle-switch(title="{{_ 'change'}} {{_ 'custom-fields'}} {{_ 'layout'}}")
|
|
|
- if customFieldsGrid
|
|
|
- input.toggle-switch(type="checkbox" id="toggleCustomFieldsGridButton" checked="checked")
|
|
|
- else
|
|
|
- input.toggle-switch(type="checkbox" id="toggleCustomFieldsGridButton")
|
|
|
- label.toggle-label(for="toggleCustomFieldsGridButton")
|
|
|
unless customFieldsGrid
|
|
|
hr
|
|
|
each customFieldsWD
|
|
@@ -257,6 +251,12 @@ template(name="cardDetails")
|
|
|
i.fa.fa-list-alt
|
|
|
= definition.name
|
|
|
+cardCustomField
|
|
|
+ .material-toggle-switch(title="{{_ 'change'}} {{_ 'custom-fields'}} {{_ 'layout'}}")
|
|
|
+ if customFieldsGrid
|
|
|
+ input.toggle-switch(type="checkbox" id="toggleCustomFieldsGridButton" checked="checked")
|
|
|
+ else
|
|
|
+ input.toggle-switch(type="checkbox" id="toggleCustomFieldsGridButton")
|
|
|
+ label.toggle-label(for="toggleCustomFieldsGridButton")
|
|
|
|
|
|
if getVoteQuestion
|
|
|
hr
|