2013-01-25 10:12:25 +00:00
|
|
|
<p>
|
|
|
|
<b>Name:</b>
|
|
|
|
<%= @certification.name %>
|
|
|
|
</p>
|
|
|
|
|
|
|
|
<p>
|
|
|
|
<b>Description:</b>
|
|
|
|
<%= simple_format @certification.description %>
|
|
|
|
</p>
|
|
|
|
|
|
|
|
<b>Certified Users:</b>
|
|
|
|
<ul>
|
2013-01-25 13:01:02 +00:00
|
|
|
<% @certification_users.each do |user| %>
|
|
|
|
<li><%= link_to user.name, user %></li>
|
2013-01-25 10:12:25 +00:00
|
|
|
<% end %>
|
2013-01-25 13:01:02 +00:00
|
|
|
<% if @certification_users.blank? then %><li>n/a</li><% end %>
|
2013-01-25 10:12:25 +00:00
|
|
|
</ul>
|
|
|
|
|
|
|
|
<% if can? :update, @certification %><%= link_to 'Edit', edit_certification_path(@certification) %> |<% end %>
|
|
|
|
<%= link_to 'Back', certifications_path %>
|