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:
12
app/views/users/_user.html.erb
Normal file
12
app/views/users/_user.html.erb
Normal file
@@ -0,0 +1,12 @@
|
||||
<div id="<%= dom_id user %>">
|
||||
<p>
|
||||
<strong>Email:</strong>
|
||||
<%= user.email %>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<strong>Status:</strong>
|
||||
<%= user.status %>
|
||||
</p>
|
||||
|
||||
</div>
|
||||
Reference in New Issue
Block a user