Add assign for the article_content
This commit is contained in:
@ -38,7 +38,7 @@
|
||||
<div class="article">
|
||||
<a href="#" class="show-link" phx-click={JS.add_class("show-boundary", to: ".article")}>show boundaries</a>
|
||||
<a href="#" class="hide-link" phx-click={JS.remove_class("show-boundary", to: ".article")}>hide boundaries</a>
|
||||
<.render_doc tree={@article.content} />
|
||||
<.render_doc tree={@article_content} />
|
||||
</div>
|
||||
|
||||
<.link navigate={~p"/translations/new?article_id=#{@article.id}"}>New Translation</.link>
|
||||
|
||||
Reference in New Issue
Block a user