Fix up front end so you can navigate to the edit page.

This commit is contained in:
Nicholas Staples
2016-03-03 15:43:53 +00:00
parent e5e9db88fd
commit b3249831cf
5 changed files with 23 additions and 13 deletions

View File

@@ -5,11 +5,11 @@
</legend>
<div class='yes-no-fields inline'>
<label class='block-label'>
<input type='radio' name='{{ name }}' value='yes' {% if current_value == True %}checked{% endif %} />
<input type='radio' name='{{ name }}' value='yes' {% if current_value == 'yes' %}checked{% endif %} />
Yes
</label>
<label class='block-label'>
<input type='radio' name='{{ name }}' value='no' {% if current_value == False %}checked{% endif %} />
<input type='radio' name='{{ name }}' value='no' {% if current_value == 'no' %}checked{% endif %} />
No
</label>
</div>