<.header> Listing Translations <.table id="translations" rows={@translations} row_click={&JS.navigate(~p(/translations/#{(&1).id}))}> <:col :let={translation} label="Language"><%= translation.language %> <:col :let={translation} label="Title"><%= translation.title %> <:col :let={translation} label="Teaser"><%= translation.teaser |> tidy_raw %> <%!-- <:col :let={translation} label="Content"><%= translation.content %> --%> <:col :let={translation} label="Date"><%= translation.date %> <:col :let={translation} label="Public"><%= translation.public %> <:col :let={translation} label="Unauthorized"><%= translation.unauthorized %> <:action :let={translation}>
<.link navigate={~p"/translations/#{translation.id}"}>Show
<.link navigate={~p"/translations/#{translation.id}/edit"}>Edit <:action :let={translation}> <.link phx-click={JS.push("delete", value: %{id: translation.id})} data-confirm="Are you sure?"> Delete