Sha256: afc2003b8887be8346183e610cae981ee922cb62e000a468487e71ff7f4a95fe
Contents?: true
Size: 1.16 KB
Versions: 5
Compression:
Stored size: 1.16 KB
Contents
- 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 = form_for(current_user, :url => update_first_login_url, :html => { :autocomplete => "off", :class => "form-horizontal" }) do |f| %fieldset %legend Change Password %div.control-group = f.label :current_password, "Current Password", {:class => 'control-label'} %div.controls = f.password_field :current_password, :autocomplete => 'off', :class => 'span3' %div.control-group = f.label :password, "Password", {:class => 'control-label'} %div.controls = f.password_field :password, :autocomplete => 'off', :class => 'span3' %div.control-group = f.label :password_confirmation, "Confirm Password", {:class => 'control-label'} %div.controls = f.password_field :password_confirmation, :autocomplete => 'off', :class => 'span3' %div.form-actions = f.submit "Save Changes", :class => "btn btn-primary", :tabindex => 3
Version data entries
5 entries across 5 versions & 1 rubygems