personal-research/app/views/admin/researchs/_research.html.erb

17 lines
851 B
Plaintext
Raw Normal View History

2014-07-04 07:18:31 +00:00
<% @researchs.each do |research| %>
<tr id="<%= dom_id research %>" class="<%= research.is_hidden ? "checkHide" : "" %>">
<td><%= research.year %></td>
2014-07-18 07:06:41 +00:00
<td><%= research.publish_date.strftime("%Y.%m") rescue "" %></td>
2014-07-04 07:18:31 +00:00
<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">
2014-10-02 12:00:04 +00:00
<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>
2014-07-04 07:18:31 +00:00
</ul>
</div>
</td>
2014-10-02 12:00:04 +00:00
<td><%= research.member_profile.name rescue "" %></td>
2015-12-30 10:12:32 +00:00
<td><%= research.research_category.title rescue "" %></td>
2014-07-04 07:18:31 +00:00
</tr>
<% end %>