1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-05-16 10:09:00 +00:00

Went through views to make sure navigation is correct and views look ok

This commit is contained in:
2015-11-05 03:02:03 +00:00
parent 4fae1c2896
commit 7aad1ee429
15 changed files with 34 additions and 27 deletions

View File

@@ -1,3 +1,4 @@
<%= form_for(@wrestler) do |f| %>
<% if @wrestler.errors.any? %>
<div id="error_explanation">
@@ -52,7 +53,7 @@
</br>
</br>
<div class="actions">
<%= f.submit %>
<%= f.submit :class=>"btn btn-success"%>
</div>
<% end %>

View File

@@ -1,5 +1,7 @@
<%= link_to "Back to #{@school.name}", "/schools/#{@school.id}", :class=>"btn btn-default" %>
<br>
<br>
<h1>Editing wrestler</h1>
<%= render 'form' %>
<%= link_to 'Back', "/schools/#{@school.id}" %>

View File

@@ -1,5 +1,7 @@
<%= link_to "Back to #{@school.name}", "/schools/#{@school.id}", :class=>"btn btn-default" %>
<br>
<br>
<h1>New wrestler</h1>
<%= render 'form' %>
<%= link_to 'Back', "/schools/#{@school.id}" %>