diff options
author | Struan Donald <struan@exo.org.uk> | 2011-05-18 15:48:00 +0100 |
---|---|---|
committer | Struan Donald <struan@exo.org.uk> | 2011-05-18 15:48:00 +0100 |
commit | c40da27da59b74c32db0a50a2a03473ec4cdba2c (patch) | |
tree | 0113a608b5e45edf690ce9504d6ca4c8445a24f5 /templates | |
parent | 6b304e144051fe6d531ca475cd6fe43fd3705c7f (diff) |
initial problem update reporting. only does basic validation so far
Diffstat (limited to 'templates')
-rw-r--r-- | templates/web/default/report/display.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/web/default/report/display.html b/templates/web/default/report/display.html index ea3877b28..6200f7a16 100644 --- a/templates/web/default/report/display.html +++ b/templates/web/default/report/display.html @@ -69,10 +69,10 @@ [% INCLUDE 'errors.html' %] - <form method="post" action="{{ $form_action }}" name="updateForm" id="fieldset"[% IF allow_photo_upload %] enctype="multipart/form-data"[% END %]> + <form method="post" action="[% c.uri_for( '/report/update' ) %]" name="updateForm" id="fieldset"[% IF allow_photo_upload %] enctype="multipart/form-data"[% END %]> <input type="hidden" name="submit_update" value="1"> - <input type="hidden" name="id" value="{{ $input_h{id} }}"> + <input type="hidden" name="id" value="[% problem.id | html %]"> <div> <label for="form_name">[% loc( 'Name:') %]</label> |