Update _writing_journal.html.erb

This commit is contained in:
chiu 2019-11-02 12:53:59 +08:00
parent acd90406a8
commit cb89771df6
1 changed files with 1 additions and 2 deletions

View File

@ -2,9 +2,8 @@
<tr id="<%= dom_id writing_journal %>" class="with_action"> <tr id="<%= dom_id writing_journal %>" class="with_action">
<td class="span1"><%= writing_journal.year %></td> <td class="span1"><%= writing_journal.year %></td>
<td class="span1"> <td class="span1">
<% puts YAML.load(writing_journal.create_link).inspect %>
<%= ("<a href='#{OrbitHelper.url_to_plugin_show(writing_journal.to_param,'personal_journal').to_s}' target='blank'><div>" <%= ("<a href='#{OrbitHelper.url_to_plugin_show(writing_journal.to_param,'personal_journal').to_s}' target='blank'><div>"
+ writing_journal.create_link.to_s + "</div></a>") + writing_journal.create_link.gsub(/(\")/,'\'') + "</div></a>")
.html_safe .html_safe
%> %>
<div class="quick-edit"> <div class="quick-edit">