Skip to content

Commit

Permalink
Added more fields to media profile show page
Browse files Browse the repository at this point in the history
  • Loading branch information
kieraneglin committed Jan 31, 2024
1 parent 969ce0d commit 3ed4d55
Showing 1 changed file with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,14 @@
</.header>

<.list>
<:item title="Name"><%= @media_profile.name %></:item>
<:item title="Output path template"><%= @media_profile.output_path_template %></:item>
<:item
:for={
attr <- ~w(name output_path_template download_subs download_auto_subs embed_subs sub_langs)a
}
title={attr}
>
<%= Map.get(@media_profile, attr) %>
</:item>
</.list>

<.back navigate={~p"/media_profiles"}>Back to media_profiles</.back>

0 comments on commit 3ed4d55

Please sign in to comment.