set value of radio input to be org id

also don't use nil, this isn't ruby
This commit is contained in:
Leo Hemsted
2016-08-15 10:39:27 +01:00
parent fb510d2522
commit 3c0f06a36d
2 changed files with 5 additions and 4 deletions

View File

@@ -44,6 +44,7 @@
type="radio"
name="{{ field.name }}"
id="{{ field.name }}-{{ loop.index }}"
value="{{ value }}"
{% if checked %}checked="checked"{% endif %}
/>
{% if branding_dict.get(value, {}).get('colour') %}