Lowercase value of 'show-now-as-default'

To match the boolean value in JavaScript.
This commit is contained in:
Tom Byers
2020-07-16 19:27:33 +01:00
committed by Chris Hill-Scott
parent e45bbcf99e
commit b5360c14cc
3 changed files with 5 additions and 4 deletions

View File

@@ -36,7 +36,7 @@
</span>
{% endif %}
</legend>
<div class="radio-select" data-module="radio-select" data-categories="{{ field.categories|join(',') }}" data-show-now-as-default="{{ show_now_as_default }}">
<div class="radio-select" data-module="radio-select" data-categories="{{ field.categories|join(',') }}" data-show-now-as-default="{{ show_now_as_default|string|lower }}">
<div class="radio-select-column">
{% for option in field %}
<div class="multiple-choice">