From 37850c6d9008a4e2973d75e1a99b02b8bda8dc91 Mon Sep 17 00:00:00 2001 From: Rueshyna Date: Wed, 5 Dec 2012 11:46:25 +0800 Subject: [PATCH] midify button type --- app/views/desktop/co_author_relations/index.html.erb | 2 +- app/views/desktop/co_authors/_form.html.erb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/desktop/co_author_relations/index.html.erb b/app/views/desktop/co_author_relations/index.html.erb index 106418ac..0b91d143 100644 --- a/app/views/desktop/co_author_relations/index.html.erb +++ b/app/views/desktop/co_author_relations/index.html.erb @@ -1,6 +1,6 @@

Listing co_author_relations

-<%= 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' %> diff --git a/app/views/desktop/co_authors/_form.html.erb b/app/views/desktop/co_authors/_form.html.erb index b087be95..2d8aa2d9 100644 --- a/app/views/desktop/co_authors/_form.html.erb +++ b/app/views/desktop/co_authors/_form.html.erb @@ -1,6 +1,6 @@
<%= 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" %>