%= form_for(account) do |f| %>
<% if account.errors.any? %>
<%= pluralize(account.errors.count, "error") %> prohibited this account from being saved:
<% account.errors.full_messages.each do |message| %>
- <%= message %>
<% end %>
<% end %>
<%= f.label :username %>
<%= f.text_field :username %>
<%= f.label :password %>
<%= f.text_field :password %>
<%= f.label :home_folder %>
<%= f.text_field :home_folder %>
<%= f.label :contact_email %>
<%= f.text_field :contact_email %>
<%= f.submit %>
<% end %>