diff options
Diffstat (limited to 'app/views/versions')
-rw-r--r-- | app/views/versions/_new_modal.html.erb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/versions/_new_modal.html.erb b/app/views/versions/_new_modal.html.erb index 99fef84e5..052a73974 100644 --- a/app/views/versions/_new_modal.html.erb +++ b/app/views/versions/_new_modal.html.erb @@ -4,6 +4,6 @@ <%= render :partial => 'versions/form', :locals => { :f => f } %> <p class="buttons"> <%= submit_tag l(:button_create), :name => nil %> - <%= submit_tag l(:button_cancel), :name => nil, :onclick => "hideModal(this);", :type => 'button' %> + <%= link_to_function l(:button_cancel), "hideModal(this);" %> </p> <% end %> |