fixed bugs 9 & 10, just missing quotes in html for hidden value
This commit is contained in:
@@ -207,7 +207,7 @@ function AddAuthorToBook(num) {
|
||||
or key == 'condition' or key == 'blurb' ) %}
|
||||
{{book_form[key](class="form-control", rows=rows, disabled="disabled" )}}
|
||||
{# disabled fields do not come through in form post, so add hidden to make it work #}
|
||||
<input type="hidden" name={{key}} value={{book_form[key].data}}>
|
||||
<input type="hidden" name="{{key}}" value="{{book_form[key].data}}">
|
||||
{% else %}
|
||||
{{book_form[key](class="form-control", rows=rows )}}
|
||||
{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user