forked from saurabh/personal-diploma
16 lines
747 B
Plaintext
16 lines
747 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, '', target: "blank"%>
|
|
<div class="quick-edit">
|
|
<ul class="nav nav-pills hide">
|
|
<li><%= link_to t('edit'), '/admin/members/'+diploma.member_profile.to_param+'/diplomas/'+diploma.id+'/edit' %></li>
|
|
<li><%= link_to t(:delete_), admin_diploma_path(id: diploma.id, member_profile_id: diploma.member_profile.id), method: :delete, remote: true, data: { confirm: t('sure?') } %></li>
|
|
</ul>
|
|
</div>
|
|
</td>
|
|
<td><%= diploma.department %></td>
|
|
<td><%= diploma.degree %></td>
|
|
</tr>
|
|
<% end %> |