- if current_user.errors.any? %div{ :class => 'alert-message block-message error', :id => 'error_explanation'} %h3== #{pluralize(current_user.errors.count, "error")} prohibited this user from being saved: %ul - current_user.errors.full_messages.each do |msg| %li= msg %div{:class => 'clearfix'} = f.label :name %div{:class => 'input'} = f.text_field :name, :class => 'logintext', :autocomplete => 'off' %div{:class => 'clearfix'} = f.label :password %div{:class => 'input'} = f.password_field :password, :class => 'logintext', :autocomplete => 'off' %div{:class => 'clearfix'} = f.label :password_confirmation %div{:class => 'input'} = f.password_field :password_confirmation, :class => 'logintext', :autocomplete => 'off'