.header>
<%= @article.title %>
<:subtitle>
<%= @article.author.name %>
<%= @article.date %>
<:actions>
<.link patch={~p"/articles/#{@article}/show/edit"} phx-click={JS.push_focus()}>
<.button>Edit article
<%= InternalTree.render_html(@article.content) |> raw %>
<.link navigate={~p"/translations/new?article_id=#{@article.id}"}>New Translation
<.back navigate={~p"/articles"}>Back to articles
<.modal :if={@live_action == :edit} id="article-modal" show on_cancel={JS.patch(~p"/articles/#{@article}")}>
<.live_component
module={OutlookWeb.ArticleLive.FormComponent}
id={@article.id}
title={@page_title}
action={@live_action}
article={@article}
navigate={~p"/articles/#{@article}"}
/>