Sha256: 6fbd0cdf69deb8892617505a99862407c67bd0894b9db611f97b07216dcbc77b

Contents?: true

Size: 560 Bytes

Versions: 11

Compression:

Stored size: 560 Bytes

Contents

- content_for :title, 'Users'
- if not Devise.on_cloudfuji?
  - content_for :action_bar do
    %span= link_to('Add a New User', new_user_path, :class => 'add')

%table
  %thead
    %tr
      %th Name
      - if Errbit::Config.user_has_username
        %th Username
      %th.main Email
      %th Admin?
  %tbody
    - @users.each do |user|
      %tr
        %td.nowrap= link_to user.name, user_path(user)
        - if Errbit::Config.user_has_username
          %td= user.username
        %td= user.email
        %td= user.admin? ? 'Y' : 'N'
= paginate @users

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
errbit_cloudfuji-0.2.4 app/views/users/index.html.haml
errbit_cloudfuji-0.2.3 app/views/users/index.html.haml
errbit_cloudfuji-0.2.2 app/views/users/index.html.haml
errbit_cloudfuji-0.2.1 app/views/users/index.html.haml
errbit_cloudfuji-0.2.0 app/views/users/index.html.haml
errbit_cloudfuji-0.1.5 app/views/users/index.html.haml
errbit_cloudfuji-0.1.4 app/views/users/index.html.haml
errbit_cloudfuji-0.1.3 app/views/users/index.html.haml
errbit_cloudfuji-0.1.2 app/views/users/index.html.haml
errbit_cloudfuji-0.1.1 app/views/users/index.html.haml
errbit_cloudfuji-0.1.0 app/views/users/index.html.haml