diff options
Diffstat (limited to 'app/views/sudo_mode/new.html.erb')
-rw-r--r-- | app/views/sudo_mode/new.html.erb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/sudo_mode/new.html.erb b/app/views/sudo_mode/new.html.erb index dee97162f..323a4556c 100644 --- a/app/views/sudo_mode/new.html.erb +++ b/app/views/sudo_mode/new.html.erb @@ -1,5 +1,5 @@ <h2><%= l :label_password_required %></h2> -<%= form_tag({}, class: 'tabular', id: 'sudo-form') do %> +<%= form_tag({}, method: :post, class: 'tabular', id: 'sudo-form') do %> <%= hidden_field_tag '_method', request.request_method %> <%= hash_to_hidden_fields @sudo_form.original_fields %> |