midify button type

This commit is contained in:
Rueshyna 2012-12-05 11:46:25 +08:00
parent b150077b7b
commit 37850c6d90
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
<h1>Listing co_author_relations</h1>
<%= submit_tag "Back", class: "bt-cancel fn_btn hh2 thmc2 thmtxt" %>
<%= submit_tag "Back", :type => "button", class: "bt-cancel fn_btn hh2 thmc2 thmtxt" %>
<%= render 'form' %>
<table id="co_author_relation_table">

View File

@ -1,6 +1,6 @@
<div class="fn_g hp">
<%= f.submit "Save", name: "commit", value: "Save", class: "fn_btn hh2 thmc2 thmtxt" %>
<%= submit_tag "Cancel", class: "bt-cancel fn_btn hh2 thmc2 thmtxt" %>
<%= submit_tag "Cancel", :type => "button", class: "bt-cancel fn_btn hh2 thmc2 thmtxt" %>
</div>
<div></div>