forked from saurabh/personal-research
16 lines
788 B
Plaintext
16 lines
788 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'), edit_admin_research_path(research) %></li>
|
|
<li><%= link_to t(:delete_), admin_research_path(id: research.id), method: :delete, remote: true, data: { confirm: 'Are you sure?' } %></li>
|
|
</ul>
|
|
</div>
|
|
</td>
|
|
<td><%= research.member_profile.name rescue "" %></td>
|
|
</tr>
|
|
<% end %> |