This repository has been archived on 2020-05-27. You can view files and clone it, but cannot push or open issues/pull-requests.
barleysodas/app/views/roles/index.rhtml

13 lines
233 B
Plaintext

<ul>
<% unless @roles.empty? -%>
<% for role in @roles %>
<li><%= show_role_link(role) -%></li>
<% end %>
<% else -%>
<li>No roles, yet.</li>
<% end -%>
</ul>
<% content_for :sidebar do -%>
<%= new_role_link -%><br />
<% end -%>