Update _writing_journal.html.erb

This commit is contained in:
chiu 2019-11-02 12:13:20 +08:00
parent 4ffbc6b6a8
commit 6173e5b5b7
1 changed files with 4 additions and 2 deletions

View File

@ -2,10 +2,12 @@
<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, OrbitHelper.url_to_plugin_show(writing_journal.to_param,'personal_journal').to_s, target: "blank"%>
<a href="<%= OrbitHelper.url_to_plugin_show(writing_journal.to_param,'personal_journal').to_s %>" target="balnk">
<%= writing_journal.create_link.html_safe %>
</a>
<div class="quick-edit">
<ul class="nav nav-pills hide">
<li><a href="edit_admin_journal_paper_path(writing_journal)" target="_balnk"><%= t('edit') %></a></li>
<li><%= 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>