Sha256: efc946b4cdb8d5d69bf9a06a354241ec9a2f5848982dc020c53d518a672f23d2

Contents?: true

Size: 765 Bytes

Versions: 5

Compression:

Stored size: 765 Bytes

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

%div.container.pageContainer2
  %div.row.prepend-top
    %div.row.show-grid
      %div.span8.offset4
        = form_for([current_user], :method => 'PUT') do |f| 
          %div.clearFloat.sectionHeading
            %h3.pull-left.clearfix Edit Your Account
          = render :partial => '/users/form', :locals => { :f => f }
          %div.clearFloat
            = f.submit 'Save Changes', :class => 'btn primary'
            = link_to 'Cancel',root_url, :class => 'btn'

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
protected-1.0.4 app/views/protected/users/edit.html.haml
protected-1.0.3 app/views/protected/users/edit.html.haml
protected-1.0.2 app/views/protected/users/edit.html.haml
protected-1.0.1 app/views/protected/users/edit.html.haml
protected-1.0.0 app/views/protected/users/edit.html.haml