+
+
<%= render_slot(@inner_block) %>
-
+
<%= render_slot(@subtitle) %>
-
+
-
<%= render_slot(@actions) %>
+ <%= render_slot(@actions) %>
"""
end
diff --git a/lib/music_library_web/live/record_live/show.html.heex b/lib/music_library_web/live/record_live/show.html.heex
index cbe17c40..3f214419 100644
--- a/lib/music_library_web/live/record_live/show.html.heex
+++ b/lib/music_library_web/live/record_live/show.html.heex
@@ -1,6 +1,8 @@
<.header>
- <%= @record.title %>
- <:subtitle><%= format_artist_names(@record.artists) %>
+ <%= format_artist_names(@record.artists) %>
+ <:subtitle>
+ <%= @record.title %>
+
<:actions>
<.link patch={~p"/records/#{@record}/show/edit"} phx-click={JS.push_focus()}>
<.button>Edit Metadata
@@ -11,17 +13,17 @@
-
-
+
+
<%= Records.Record.format_short_label(@record.format) %>
-
+
<.list>
<:item title="Type">
@@ -50,7 +52,9 @@
-<.back navigate={@back_url}>Back to records
+
+ <.back navigate={@back_url}>Back to records
+
<.modal
:if={@live_action == :edit}