From f89a6194c4d1bcb7b8168c89c1c24abcd2a0808f Mon Sep 17 00:00:00 2001 From: Rueshyna Date: Mon, 3 Dec 2012 16:19:53 +0800 Subject: [PATCH] add back button --- app/views/desktop/co_author_relations/index.html.erb | 1 + app/views/desktop/co_authors/_form.html.erb | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/views/desktop/co_author_relations/index.html.erb b/app/views/desktop/co_author_relations/index.html.erb index 3d4a30e7..106418ac 100644 --- a/app/views/desktop/co_author_relations/index.html.erb +++ b/app/views/desktop/co_author_relations/index.html.erb @@ -1,5 +1,6 @@

Listing co_author_relations

+<%= submit_tag "Back", 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 4f57b9ca..3628dff3 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" %>