personal-conference/app/views/admin/writing_conferences/_writing_conference.html.erb

15 lines
949 B
Plaintext
Raw Normal View History

2014-07-01 10:19:07 +00:00
<% @writing_conferences.each do |writing_conference| %>
<tr id="<%= dom_id writing_conference %>" class="<%= writing_conference.is_hidden ? "checkHide" : "" %>">
<td><%= writing_conference.year %></td>
<td>
2014-07-04 04:06:42 +00:00
<%= link_to writing_conference.paper_title, OrbitHelper.url_to_plugin_show(writing_conference.to_param,'personal_conference'), target: "blank"%>
2014-07-01 10:19:07 +00:00
<div class="quick-edit">
<ul class="nav nav-pills hide">
<li><%= link_to t('edit'), '/admin/members/'+writing_conference.member_profile.to_param+'/writing_conferences/'+writing_conference.id+'/edit' %></li>
<li><%= link_to t(:delete_), admin_writing_conference_path(id: writing_conference.id, member_profile_id: writing_conference.member_profile.id), method: :delete, remote: true, data: { confirm: t('sure?') } %></li>
</ul>
</div>
</td>
2014-10-02 11:50:56 +00:00
<td><%= writing_conference.member_profile.name rescue "" %></td>
2014-07-01 10:19:07 +00:00
</tr>
<% end %>