summaryrefslogtreecommitdiff
path: root/app/views/users/_form.html.erb
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/users/_form.html.erb')
-rw-r--r--app/views/users/_form.html.erb10
1 files changed, 7 insertions, 3 deletions
diff --git a/app/views/users/_form.html.erb b/app/views/users/_form.html.erb
index 56d9f90..4d28738 100644
--- a/app/views/users/_form.html.erb
+++ b/app/views/users/_form.html.erb
@@ -13,11 +13,15 @@
<div class="field">
<%= f.label :name %><br>
- <%= f.text_area :name %>
+ <%= f.text_field :name %>
</div>
<div class="field">
- <%= f.label :pw_hash %><br>
- <%= f.text_area :pw_hash %>
+ <%= f.label :email %><br>
+ <%= f.text_field :email %>
+ </div>
+ <div class="field">
+ <%= f.label :user_name %><br>
+ <%= f.text_field :user_name %>
</div>
<div class="actions">
<%= f.submit %>