summaryrefslogtreecommitdiff
path: root/app/views/users/_form.html.erb
diff options
context:
space:
mode:
authorDavisLWebb <davislwebb@ymail.com>2014-03-01 20:23:29 -0500
committerDavisLWebb <davislwebb@ymail.com>2014-03-01 20:23:29 -0500
commit2eb242f3e5b1f1ab66d84556cabcad965fe387aa (patch)
treed80e7422f39ef2b49801dbefd586e8e48500e43b /app/views/users/_form.html.erb
parent318d7649200fd51c7b1582c3f93534de9f2a3cf5 (diff)
changed the user section of the generate
Diffstat (limited to 'app/views/users/_form.html.erb')
-rw-r--r--app/views/users/_form.html.erb29
1 files changed, 0 insertions, 29 deletions
diff --git a/app/views/users/_form.html.erb b/app/views/users/_form.html.erb
deleted file mode 100644
index 2d1ad24..0000000
--- a/app/views/users/_form.html.erb
+++ /dev/null
@@ -1,29 +0,0 @@
-<%= form_for(@user) do |f| %>
- <% if @user.errors.any? %>
- <div id="error_explanation">
- <h2><%= pluralize(@user.errors.count, "error") %> prohibited this user from being saved:</h2>
-
- <ul>
- <% @user.errors.full_messages.each do |msg| %>
- <li><%= msg %></li>
- <% end %>
- </ul>
- </div>
- <% end %>
-
- <div class="field">
- <%= f.label :name %><br>
- <%= f.text_area :name %>
- </div>
- <div class="field">
- <%= f.label :pw_hash %><br>
- <%= f.text_area :pw_hash %>
- </div>
- <div class="field">
- <%= f.label :groups %><br>
- <%= f.number_field :groups %>
- </div>
- <div class="actions">
- <%= f.submit %>
- </div>
-<% end %>