Sha256: 4e7091c5727fdd5ea4136a75726c16f5e1981839b309d1e539de37f1928e8e62
Contents?: true
Size: 630 Bytes
Versions: 1
Compression:
Stored size: 630 Bytes
Contents
<div class="grid"> <div class="col-1-2"> <h1>Lista Usuários</h1> </div> <div class="col-1-2 section-options"> </div> </div> <%= link_to "Novo Usuário", new_user_path if current_user.admin? %> <br /> <br /> <table> <thead> <tr> <th>Nome</th> <th></th> </tr> </thead> <tbody> <% @users.each do |user| %> <tr id="user-<%= user.id %>"> <td> <%= link_to user.name, edit_user_path(user), id: "edit-user-#{user.id}" %> </td> <td><%= user.roles.join(", ") %></td> </tr> <% end %> </tbody> </table>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
cas-cms-0.1.0 | app/views/cas/users/index.html.erb |