16 lines
725 B
Plaintext
16 lines
725 B
Plaintext
|
<% @labs.each do |writing| %>
|
||
|
<tr id="<%= dom_id writing %>" class="<%= writing.is_hidden ? "checkHide" : "" %>">
|
||
|
<td><%= writing.year %></td>
|
||
|
<td>
|
||
|
<%= link_to writing.lab_title, OrbitHelper.url_to_plugin_show(writing.to_param,'personal_writing'), target: "blank"%>
|
||
|
<div class="quick-edit">
|
||
|
<ul class="nav nav-pills hide">
|
||
|
<li><%= link_to t('edit'), edit_admin_lab_path(writing) %></li>
|
||
|
<li><%= link_to t(:delete_), admin_lab_path(id: writing.id), method: :delete, remote: true, data: { confirm: 'Are you sure?' } %></li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
</td>
|
||
|
<td><%= writing.location %></td>
|
||
|
<td><%= writing.member_profile.name rescue "" %></td>
|
||
|
</tr>
|
||
|
<% end %>
|