Files
phoenix-ausblick/lib/outlook_web/controllers/autor_html/show.html.heex
2023-02-14 22:52:43 +01:00

14 lines
442 B
Plaintext

<.header>
<%= @autor.name %>
<:subtitle><div class="text-lg mb-2"><%= @autor.description |> tidy_raw %></div></:subtitle>
<:subtitle><.link href={@autor.homepage_url}><%= @autor.homepage_name %></.link></:subtitle>
</.header>
<%= for article <- @autor.articles do %>
<.artikel :for={translation <- article.translations} artikel={translation} show_author={false} />
<% end %>
<.back navigate={~p"/autoren"}>Back to autoren</.back>