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

15 lines
837 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>
2015-01-09 07:32:31 +00:00
<%= link_to writing_conference.create_link, 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">
2014-10-02 12:05:12 +00:00
<li><%= link_to t('edit'), edit_admin_writing_conference_path(writing_conference) %></li>
<li><%= link_to t(:delete_), admin_writing_conference_path(id: writing_conference.id), method: :delete, remote: true, data: { confirm: 'Are you sure?' } %></li>
2014-07-01 10:19:07 +00:00
</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 %>