academic_advising/app/views/admin/honors/_honor.html.erb

16 lines
716 B
Plaintext
Raw Normal View History

2014-07-02 09:37:34 +00:00
<% @honors.each do |honor| %>
<tr id="<%= dom_id honor %>" class="<%= honor.is_hidden ? "checkHide" : "" %>">
<td><%= honor.year %></td>
<td>
2014-07-04 04:16:46 +00:00
<%= link_to honor.award_name, OrbitHelper.url_to_plugin_show(honor.to_param,'personal_honor'), target: "blank"%>
2014-07-02 09:37:34 +00:00
<div class="quick-edit">
<ul class="nav nav-pills hide">
2014-10-02 11:46:12 +00:00
<li><%= link_to t('edit'), edit_admin_honor_path(honor) %></li>
<li><%= link_to t(:delete_), admin_honor_path(id: honor.id), method: :delete, remote: true, data: { confirm: 'Are you sure?' } %></li>
2014-07-02 09:37:34 +00:00
</ul>
</div>
</td>
<td><%= honor.awarding_unit %></td>
2014-10-02 11:46:12 +00:00
<td><%= honor.member_profile.name rescue "" %></td>
2014-07-02 09:37:34 +00:00
</tr>
<% end %>