mirror of
https://github.com/jcwimer/wrestlingApp
synced 2026-04-14 00:49:54 +00:00
Blocking buttons with Devise Authentication and cleaning up views
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
|
||||
|
||||
<% if @school %>
|
||||
<%= f.hidden_field :tournament_id, :value => @tournament %>
|
||||
<%= f.hidden_field :tournament_id, :value => @tournament_field %>
|
||||
<% else %>
|
||||
<div class="field">
|
||||
<%= f.label 'Tournament' %><br>
|
||||
|
||||
@@ -2,4 +2,4 @@
|
||||
|
||||
<%= render 'form' %>
|
||||
|
||||
<%= link_to 'Back', schools_path %>
|
||||
<%= link_to 'Back', "/tournaments/#{@tournament.id}" %>
|
||||
|
||||
Reference in New Issue
Block a user