diff options
Diffstat (limited to 'app/views/sudo_mode/_new_modal.html.erb')
-rw-r--r-- | app/views/sudo_mode/_new_modal.html.erb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/sudo_mode/_new_modal.html.erb b/app/views/sudo_mode/_new_modal.html.erb index adc4851cc..bc780be56 100644 --- a/app/views/sudo_mode/_new_modal.html.erb +++ b/app/views/sudo_mode/_new_modal.html.erb @@ -13,6 +13,6 @@ <p class="buttons"> <%= submit_tag l(:button_submit), onclick: "hideModal(this);" %> - <%= submit_tag l(:button_cancel), name: nil, onclick: "hideModal(this);", type: 'button' %> + <%= link_to_function l(:button_cancel), "hideModal(this);" %> </p> <% end %> |