diff options
author | Edmund von der Burg <evdb@mysociety.org> | 2011-03-24 17:02:47 +0000 |
---|---|---|
committer | Edmund von der Burg <evdb@mysociety.org> | 2011-03-24 17:02:47 +0000 |
commit | 9d740b57e939f3cd9b7fbd1c61d1e2676bf4ead0 (patch) | |
tree | 499cd6b588bcaaf3640562f0bfc1aade772571aa | |
parent | 00f8c41d40c7193da27c1e38951cdc7fc36626c1 (diff) |
Allow users to change photo during creation
-rw-r--r-- | templates/web/default/reports/new/fill_in_details.html | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/templates/web/default/reports/new/fill_in_details.html b/templates/web/default/reports/new/fill_in_details.html index f74ce0e25..202f3a1e0 100644 --- a/templates/web/default/reports/new/fill_in_details.html +++ b/templates/web/default/reports/new/fill_in_details.html @@ -90,15 +90,15 @@ [% END %] [% IF upload_fileid || report.photo %] - <p>[% loc('You have already uploaded a photo for this report') %]</p> + <p>[% loc('You have already attached a photo to this report, attaching another one will replace it.') %]</p> <input type="hidden" name="upload_fileid" value="[% upload_fileid %]" /> -[% ELSE %] - <div class='form-field'> - <label for="form_name">[% loc('Photo:') %]</label> - <input type="file" value="" name="photo" id="form_photo" > - </div> [% END %] +<div class='form-field'> + <label for="form_name">[% loc('Photo:') %]</label> + <input type="file" value="" name="photo" id="form_photo" > +</div> + [% IF field_errors.name %] <div class='form-error'>[% field_errors.name %]</div> |