16 lines
870 B
Plaintext
16 lines
870 B
Plaintext
<% @researchs.each do |research| %>
|
|
<tr id="<%= dom_id research %>" class="<%= research.is_hidden ? "checkHide" : "" %>">
|
|
<td><%= research.year %></td>
|
|
<td><%= research.publish_date.strftime("%Y.%m") rescue "" %></td>
|
|
<td>
|
|
<%= link_to research.research_title, OrbitHelper.url_to_plugin_show(research.to_param,'personal_research'), target: "blank"%>
|
|
<div class="quick-edit">
|
|
<ul class="nav nav-pills hide">
|
|
<li><%= link_to t('edit'), '/admin/members/'+research.member_profile.to_param+'/researchs/'+research.id+'/edit' %></li>
|
|
<li><%= link_to t(:delete_), admin_research_path(id: research.id, member_profile_id: research.member_profile.id), method: :delete, remote: true, data: { confirm: t('sure?') } %></li>
|
|
</ul>
|
|
</div>
|
|
</td>
|
|
<td><%= research.member_profile.name %></td>
|
|
</tr>
|
|
<% end %> |