forked from saurabh/personal-diploma
17 lines
776 B
Plaintext
17 lines
776 B
Plaintext
<% @diplomas.each do |diploma| %>
|
|
<tr id="<%= dom_id diploma %>" class="<%= diploma.is_hidden ? "checkHide" : "" %>">
|
|
<td><%= diploma.duration %></td>
|
|
<td>
|
|
<%= link_to diploma.school_name, OrbitHelper.url_to_plugin_show(diploma.to_param,'personal_diploma'), target: "blank"%>
|
|
<div class="quick-edit">
|
|
<ul class="nav nav-pills hide">
|
|
<li><%= link_to t('edit'), edit_admin_diploma_path(diploma) %></li>
|
|
<li><%= link_to t(:delete_), admin_diploma_path(id: diploma.id), method: :delete, remote: true, data: { confirm: 'Are you sure?' } %></li>
|
|
</ul>
|
|
</div>
|
|
</td>
|
|
<td><%= diploma.department %></td>
|
|
<td><%= diploma.degree %></td>
|
|
<td><%= diploma.member_profile.name rescue "" %></td>
|
|
</tr>
|
|
<% end %> |