2014-07-18 07:04:07 +00:00
|
|
|
<% @writing_journals.each do |writing_journal| %>
|
|
|
|
<tr id="<%= dom_id writing_journal %>" class="with_action">
|
|
|
|
<td class="span1"><%= writing_journal.year %></td>
|
|
|
|
<td class="span1">
|
|
|
|
<%= link_to writing_journal.create_link, page_for_journal_paper(writing_journal), target: "blank"%>
|
|
|
|
<div class="quick-edit">
|
|
|
|
<ul class="nav nav-pills hide">
|
|
|
|
<li><%= link_to t('edit'), edit_admin_journal_paper_path(writing_journal) %></li>
|
|
|
|
<li><%= link_to t(:delete_), admin_journal_paper_path(id: writing_journal.id), method: :delete, remote: true, data: { confirm: 'Are you sure?' } %></li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</td>
|
|
|
|
<td class="span1"><%= writing_journal.authors%></td>
|
|
|
|
</tr>
|
|
|
|
<% end %>
|