Added more fields to media profile show page
This commit is contained in:
parent
969ce0d00f
commit
3ed4d55325
1 changed files with 8 additions and 2 deletions
|
|
@ -9,8 +9,14 @@
|
||||||
</.header>
|
</.header>
|
||||||
|
|
||||||
<.list>
|
<.list>
|
||||||
<:item title="Name"><%= @media_profile.name %></:item>
|
<:item
|
||||||
<:item title="Output path template"><%= @media_profile.output_path_template %></: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>
|
</.list>
|
||||||
|
|
||||||
<.back navigate={~p"/media_profiles"}>Back to media_profiles</.back>
|
<.back navigate={~p"/media_profiles"}>Back to media_profiles</.back>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue