Add creating and basic editing of translation
This commit is contained in:
@ -18,6 +18,8 @@
|
||||
<%= InternalTree.render_html(@article.content) |> raw %>
|
||||
</div>
|
||||
|
||||
<.link navigate={~p"/translations/new?article_id=#{@article.id}"}>New Translation</.link>
|
||||
|
||||
<.back navigate={~p"/articles"}>Back to articles</.back>
|
||||
|
||||
<.modal :if={@live_action == :edit} id="article-modal" show on_cancel={JS.patch(~p"/articles/#{@article}")}>
|
||||
|
||||
Reference in New Issue
Block a user