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:
@@ -1,5 +1,7 @@
|
||||
<h1>Pick A Tournament</h1>
|
||||
<%= link_to 'New Tournament', new_tournament_path, :class=>"btn" %>
|
||||
<% if user_signed_in? %>
|
||||
<%= link_to 'New Tournament', new_tournament_path, :class=>"btn" %>
|
||||
<% end %>
|
||||
</br>
|
||||
</br>
|
||||
<table class="table table-striped table-bordered">
|
||||
|
||||
Reference in New Issue
Block a user