mirror of
https://github.com/jcwimer/wrestlingApp
synced 2026-04-14 08:58:29 +00:00
First crack at setting an owner for the tournament
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
<h2>Sign up</h2>
|
||||
<% if user_signed_in? %>
|
||||
<%= form_for(resource, :as => resource_name, :url => registration_path(resource_name)) do |f| %>
|
||||
<%= devise_error_messages! %>
|
||||
|
||||
@@ -13,7 +12,6 @@
|
||||
<%= f.password_field :password_confirmation %></div>
|
||||
|
||||
<div><%= f.submit "Sign up" %></div>
|
||||
<% end %>
|
||||
<% end %>
|
||||
|
||||
<%= render "devise/shared/links" %>
|
||||
|
||||
@@ -33,6 +33,7 @@
|
||||
</div>
|
||||
<br>
|
||||
<br>
|
||||
<%= f.hidden_field :user_id, :value => current_user.id %>
|
||||
<div class="actions">
|
||||
<%= f.submit 'Submit',:class=>"btn btn-success" %>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user