diff options
author | Edmund von der Burg <evdb@mysociety.org> | 2011-03-24 17:11:31 +0000 |
---|---|---|
committer | Edmund von der Burg <evdb@mysociety.org> | 2011-03-24 17:11:31 +0000 |
commit | 86aa0977730fcf99b9d6be2c0c9af7698cbdf23c (patch) | |
tree | b5e0607a6a3c66f23f432dd6ff7e29f4f27baea7 | |
parent | 9d740b57e939f3cd9b7fbd1c61d1e2676bf4ead0 (diff) |
persist partial token across requests
-rw-r--r-- | templates/web/default/reports/new/fill_in_details.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/templates/web/default/reports/new/fill_in_details.html b/templates/web/default/reports/new/fill_in_details.html index 202f3a1e0..7a5a9b2a7 100644 --- a/templates/web/default/reports/new/fill_in_details.html +++ b/templates/web/default/reports/new/fill_in_details.html @@ -81,10 +81,6 @@ <textarea name="detail" id="form_detail" rows="7" cols="26">[% report.detail | html %]</textarea> </div> -<!-- {{ $partial_field }} --> - - - [% IF field_errors.photo %] <div class='form-error'>[% field_errors.photo %]</div> [% END %] @@ -137,6 +133,10 @@ [% INCLUDE 'reports/new/notes.html' %] +[% IF partial_token %] + <input type="hidden" name="partial" value="[% partial_token.token %]"> +[% END %] + <p id="problem_submit"> <input type="hidden" name="submit_problem" value="1"> <input type="submit" value="[% loc('Submit') %]"> |