<%= form_for(account) do |f| %> <% if account.errors.any? %>

<%= pluralize(account.errors.count, "error") %> prohibited this account from being saved:

<% end %>
<%= f.label :username %> <%= f.text_field :username %>
<%= f.label :password %> <%= f.text_field :password, class: "passwd" %> <%= link_to 'Generate', genpass_url, remote: true %>
<%= f.label :home_folder %> <%= f.text_field :home_folder %>
<%= f.label :contact_email %> <%= f.text_field :contact_email %>
<%= f.submit %>
<% end %>