ncbo/bioportal_web_ui

View on GitHub
app/views/users/index.html.haml

Summary

Maintainability
Test Coverage
%table.zebra{:cellpadding => "0", :cellspacing => "0"}
  %tr
    %th First Name
    %th Last Name
    %th Username
    %th Email
    %th Roles
    %th Id
    %th Actions
  - for user in @users
    %tr{:class => cycle("odd", "even")}
      %td= user.firstName
      %td= user.lastName
      %td= user.username
      %td= user.email
      %td= user.role.join(" | ")
      %td= user.id
      %td View | Edit | Delete