From 2a54145a521d890b9df43589b18e33df0f88a1e8 Mon Sep 17 00:00:00 2001 From: Miriam Date: Fri, 11 Apr 2014 14:58:15 +0200 Subject: [PATCH] back button studien --- app/views/studien/_form.html.erb | 1 + app/views/studien/new.html.erb | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/app/views/studien/_form.html.erb b/app/views/studien/_form.html.erb index d9ad5a0..3640757 100755 --- a/app/views/studien/_form.html.erb +++ b/app/views/studien/_form.html.erb @@ -40,6 +40,7 @@ <%= tinymce %> <%= f.actions do %> <%= f.action :submit, :as => :input %> + <%= link_to 'Back', studien_path, :data=>{:locale=>I18n.locale}, class: :btn%> <% end %> <% end %> diff --git a/app/views/studien/new.html.erb b/app/views/studien/new.html.erb index ae37fef..12a41b1 100755 --- a/app/views/studien/new.html.erb +++ b/app/views/studien/new.html.erb @@ -2,4 +2,6 @@ <%= render 'form' %> -<%= link_to 'Back', studien_path , :data=>{:locale=>I18n.locale}%> + + +