forked from saurabh/personal-journal
19 lines
811 B
Plaintext
19 lines
811 B
Plaintext
<% @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">
|
|
<a href="<%= OrbitHelper.url_to_plugin_show(writing_journal.to_param,'personal_journal').to_s %>" target="blank">
|
|
<span>
|
|
<%= "#{Nokogiri::HTML(writing_journal.create_link).text}" %>
|
|
</span>
|
|
</a>
|
|
<div class="quick-edit">
|
|
<ul class="nav nav-pills hide">
|
|
<li><%= link_to t('edit').to_s, 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><%= writing_journal.member_profile.name rescue "" %></td>
|
|
</tr>
|
|
<% end %> |