forked from fixin.me/fixin.me
Generate User scaffold
bundle exec rails generate scaffold user email:string{64}:uniq
status:integer
This commit is contained in:
10
app/views/users/edit.html.erb
Normal file
10
app/views/users/edit.html.erb
Normal file
@@ -0,0 +1,10 @@
|
||||
<h1>Editing user</h1>
|
||||
|
||||
<%= render "form", user: @user %>
|
||||
|
||||
<br>
|
||||
|
||||
<div>
|
||||
<%= link_to "Show this user", @user %> |
|
||||
<%= link_to "Back to users", users_path %>
|
||||
</div>
|
||||
Reference in New Issue
Block a user