2014-07-03 11:25:50 +00:00
|
|
|
<% @labs.each do |lab| %>
|
|
|
|
<tr id="<%= dom_id lab %>" class="<%= lab.is_hidden ? "checkHide" : "" %>">
|
|
|
|
<td><%= lab.year %></td>
|
|
|
|
<td>
|
2014-07-04 04:18:53 +00:00
|
|
|
<%= link_to lab.lab_title, OrbitHelper.url_to_plugin_show(lab.to_param,'personal_lab'), target: "blank"%>
|
2014-07-03 11:25:50 +00:00
|
|
|
<div class="quick-edit">
|
|
|
|
<ul class="nav nav-pills hide">
|
|
|
|
<li><%= link_to t('edit'), '/admin/members/'+lab.member_profile.to_param+'/labs/'+lab.id+'/edit' %></li>
|
|
|
|
<li><%= link_to t(:delete_), admin_lab_path(id: lab.id, member_profile_id: lab.member_profile.id), method: :delete, remote: true, data: { confirm: t('sure?') } %></li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
<td><%= lab.location %></td>
|
|
|
|
</tr>
|
|
|
|
<% end %>
|