diff options
author | Matthew Somerville <matthew@mysociety.org> | 2011-06-22 16:59:59 +0100 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2011-06-22 16:59:59 +0100 |
commit | 07ed5ea201da14f07da48ea940ef839a4f166da8 (patch) | |
tree | ebac3ba16a842448ed3eac97f6776907fce81170 /templates/web/default | |
parent | a12b57169517908e81d695459537dc7df4c0ed40 (diff) |
Store user in report from the start, so name of logged in person isn't blanked out, and don't process unnecessarily.
Diffstat (limited to 'templates/web/default')
-rw-r--r-- | templates/web/default/report/new/fill_in_details.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/web/default/report/new/fill_in_details.html b/templates/web/default/report/new/fill_in_details.html index 69e71be49..48407bb45 100644 --- a/templates/web/default/report/new/fill_in_details.html +++ b/templates/web/default/report/new/fill_in_details.html @@ -147,12 +147,12 @@ <div class="form-field"> <label for="form_email">[% loc('Email:') %]</label> - <input type="text" value="[% report_user.email | html %]" name="email" id="form_email" size="25"> + <input type="text" value="[% report.user.email | html %]" name="email" id="form_email" size="25"> </div> <div> <label for="form_phone">[% loc('Phone:') %]</label> - <input type="text" value="[% report_user.phone | html %]" name="phone" id="form_phone" size="15"> + <input type="text" value="[% report.user.phone | html %]" name="phone" id="form_phone" size="15"> <small>[% loc('(optional)') %]</small> </div> |