<.header>
  Translation <%= @translation.id %>
  <:subtitle>This is a translation record from your database.</:subtitle>
  <:actions>
    <.link navigate={~p"/translations/#{@translation}/edit"} phx-click={JS.push_focus()}>
      <.button>Edit translation</.button>
    </.link>
  </:actions>
</.header>

<.list>
  <:item title="Language"><%= @translation.language %></:item>
  <:item title="Title"><%= @translation.title %></:item>
  <:item title="Teaser"><%= @translation.teaser %></:item>
  <%!-- <:item title="Content"><%= @translation.content %></:item> --%>
  <:item title="Date"><%= @translation.date %></:item>
  <:item title="Public"><%= @translation.public %></:item>
  <:item title="Unauthorized"><%= @translation.unauthorized %></:item>
</.list>

<div class="article show_status">
  <.render_doc tree={@translation_tree} />
</div>

<.back navigate={~p"/articles/#{@translation.article}"}>Back to <article></article></.back>
