diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/web/base/report/_support.html | 4 | ||||
-rw-r--r-- | templates/web/base/report/display_tools.html | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/templates/web/base/report/_support.html b/templates/web/base/report/_support.html index 3e372ba69..420b632aa 100644 --- a/templates/web/base/report/_support.html +++ b/templates/web/base/report/_support.html @@ -8,8 +8,8 @@ %] [% IF c.user AND c.user.from_body %] - <form action="[% c.uri_for( '/report/support' ) %]"> - <p id="supporter"><small>[% text %] <input type="hidden" name="id" value="[% problem.id %]"><input type="submit" class="green-btn" value="Add support"></small></p> + <form action="/report/[% problem.id %]/support"> + <p id="supporter"><small>[% text %] <input type="submit" class="green-btn" value="Add support"></small></p> </form> [% ELSE %] <p id="supporter"><small>[% text %]</small></p> diff --git a/templates/web/base/report/display_tools.html b/templates/web/base/report/display_tools.html index eaf45fdf3..be788a50d 100644 --- a/templates/web/base/report/display_tools.html +++ b/templates/web/base/report/display_tools.html @@ -1,7 +1,7 @@ <div class="shadow-wrap"> <ul id="key-tools"> [% IF c.user_exists AND c.cobrand.users_can_hide AND c.user.belongs_to_body( problem.bodies_str ) %] - <li><form method="post" action="/report/delete/[% problem.id %]" id="remove-from-site-form"> + <li><form method="post" action="/report/[% problem.id %]/delete" id="remove-from-site-form"> <input type="hidden" name="token" value="[% csrf_token %]"> <button type="submit" id="key-tool-report-abuse" class="abuse" data-confirm="[% loc('Are you sure?') %]" name="remove_from_site">[% loc('Remove from site') %]</button> </form></li> |