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:
@@ -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 %>
|
||||
|
||||
|
||||
@@ -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}" %>
|
||||
|
||||
@@ -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}" %>
|
||||
|
||||
Reference in New Issue
Block a user