summaryrefslogtreecommitdiffstats
path: root/app/views/members/_new_modal.html.erb
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/members/_new_modal.html.erb')
-rw-r--r--app/views/members/_new_modal.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/members/_new_modal.html.erb b/app/views/members/_new_modal.html.erb
index 0338a953c..3cb3360f5 100644
--- a/app/views/members/_new_modal.html.erb
+++ b/app/views/members/_new_modal.html.erb
@@ -4,6 +4,6 @@
<%= render :partial => 'new_form' %>
<p class="buttons">
<%= submit_tag l(:button_add), :id => 'member-add-submit' %>
- <%= submit_tag l(:button_cancel), :name => nil, :onclick => "hideModal(this);", :type => 'button' %>
+ <%= link_to_function l(:button_cancel), "hideModal(this);" %>
</p>
<% end %>