Open-Source-Access-Control-.../app/views/user_certifications/index.html.erb

16 lines
461 B
Plaintext
Raw Normal View History

<h1>Listing User Certifications</h1>
2013-01-25 16:28:32 +00:00
<%= link_to 'New User Certification', new_user_certification_path %>
2013-01-25 18:11:39 +00:00
<% @grouped_user_certs.sort.each do |cert, user_certifications| %>
<dl class="collapsible">
2013-01-25 18:11:39 +00:00
<dt><%= cert.name %></dt>
<% user_certifications.sort{|a,b| a.user.name <=> b.user.name}.each do |user_certification| %>
<dd>
2013-01-25 18:11:39 +00:00
<%= link_to user_certification.user.name, user_certification %>
</dd>
<% end %>
</dl>
<% end %>