Sha256: 66ffa979ee8bf02e8a104afd48bb87f07853e3aa0ee2f052d3f382f350d9e768

Contents?: true

Size: 490 Bytes

Versions: 5

Compression:

Stored size: 490 Bytes

Contents

%h2= t(:all_users)

%table.users.table.table-bordered.table-striped
  %thead
    %tr
      %th
      %th= t(:name)
      %th= t(:email)
  %tbody
    - @users.each do |user|
      %tr{ :class => cycle("odd", "even") }
        %td.user_img
          = link_to show_gravatar_for(user), user
        %td.user_img
          = link_to "<span>#{user}</span>".html_safe, user
        %td= user.email
- if admin?
  = link_to t(:new_user), new_admin_user_path, :class => "add_new_button btn primary"

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
xrono-1.0.4 app/views/users/index.html.haml
xrono-1.0.3 app/views/users/index.html.haml
xrono-1.0.2 app/views/users/index.html.haml
xrono-1.0.1 app/views/users/index.html.haml
xrono-1.0.0 app/views/users/index.html.haml