diff --git a/lib/pinchflat_web/controllers/media_profiles/media_profile_html/show.html.heex b/lib/pinchflat_web/controllers/media_profiles/media_profile_html/show.html.heex index 80ea07f..1f23a8c 100644 --- a/lib/pinchflat_web/controllers/media_profiles/media_profile_html/show.html.heex +++ b/lib/pinchflat_web/controllers/media_profiles/media_profile_html/show.html.heex @@ -9,8 +9,14 @@ <.list> - <:item title="Name"><%= @media_profile.name %> - <: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) %> + <.back navigate={~p"/media_profiles"}>Back to media_profiles