midify button type

This commit is contained in:
Rueshyna 2012-12-05 11:46:25 +08:00 committed by chris
parent 21b1432f7f
commit 09c59c4e03
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>