Sha256: a4df9cae53720fad5fbdde49826bdee9ca91e45d1db3b9421225ebeb1fc4480c

Contents?: true

Size: 674 Bytes

Versions: 73

Compression:

Stored size: 674 Bytes

Contents

%h1 Users
%ul
  - for user in @users
    %li
      %table.no_border
        %tr
          %td= link_to user.login, user_profile_path(user)
          %td= "#{user.first_name} #{user.last_name}"
          %td!= image_tag user.image.url(:thumb)
          - if can? :manage, User
            %td!= link_to 'Edit', edit_user_path(user)
            %td!= link_to 'Destroy', user, "data-confirm"=>"Really delete #{user.alias}?", :method=>"delete"
              %td{:id=>user.element_id(:confirm)}
                - if user.confirmed_at
                  Confirmed
                - else
                  = form_for user, :remote=>true do |f|
                    = f.hidden_field

Version data entries

73 entries across 73 versions & 1 rubygems

Version Path
wheels-0.0.37 app/views/users/index.html.haml
wheels-0.0.36 app/views/users/index.html.haml
wheels-0.0.35 app/views/users/index.html.haml
wheels-0.0.34 app/views/users/index.html.haml
wheels-0.0.33 app/views/users/index.html.haml
wheels-0.0.32 app/views/users/index.html.haml
wheels-0.0.31 app/views/users/index.html.haml
wheels-0.0.30 app/views/users/index.html.haml
wheels-0.0.29 app/views/users/index.html.haml
wheels-0.0.28 app/views/users/index.html.haml
wheels-0.0.27 app/views/users/index.html.haml
wheels-0.0.26 app/views/users/index.html.haml
wheels-0.0.25 app/views/users/index.html.haml
wheels-0.0.24 app/views/users/index.html.haml
wheels-0.0.23 app/views/users/index.html.haml
wheels-0.0.22 app/views/users/index.html.haml
wheels-0.0.21 app/views/users/index.html.haml
wheels-0.0.20 app/views/users/index.html.haml
wheels-0.0.19 app/views/users/index.html.haml
wheels-0.0.18 app/views/users/index.html.haml