diff options
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> |