Commit 8a4ffbebd8acf2d60933206a0896982df3d19257

Authored by Fellipe Souto Sampaio
Committed by Rafael Manzo
1 parent 8e81a7b6

Fixed back button position

Signed-of By: Renan Fichberg <rfichberg@gmail.com>
app/views/projects/_form.html.erb
... ... @@ -12,4 +12,6 @@
12 12 </div>
13 13  
14 14 <%= f.submit 'Save', class: 'btn btn-primary' %>
  15 +
  16 + <%= link_to 'Back', projects_path, class: 'btn btn-default' %>
15 17 <% end %>
... ...
app/views/projects/edit.html.erb
... ... @@ -2,6 +2,4 @@
2 2 <h1>Edit Project</h1>
3 3 </div>
4 4  
5   -<%= render 'form' %>
6   -
7   -<%= link_to 'Back', projects_path %>
  5 +<%= render 'form' %>
8 6 \ No newline at end of file
... ...
app/views/reading_groups/_form.html.erb
... ... @@ -12,4 +12,6 @@
12 12 </div>
13 13  
14 14 <%= f.submit 'Save', class: 'btn btn-primary' %>
  15 +
  16 + <%= link_to 'Back', reading_groups_path, class: 'btn btn-default' %>
15 17 <% end %>
... ...
app/views/reading_groups/edit.html.erb
... ... @@ -2,6 +2,4 @@
2 2 <h1>Edit Reading Group</h1>
3 3 </div>
4 4  
5   -<%= render 'form' %>
6   -
7   -<%= link_to 'Back', reading_group_path %>
  5 +<%= render 'form' %>
8 6 \ No newline at end of file
... ...