-
Relationships
+ Attributes for "<%= @source.friendly_name %>"
+
+ Relationships
<.list>
<:item title="media_profile">
<.link
@@ -31,7 +33,7 @@
- Attributes
+ Attributes
<.list_items_from_map map={Map.from_struct(@source)} />
Downloaded Media
diff --git a/lib/pinchflat_web/controllers/sources/source_html/source_form.html.heex b/lib/pinchflat_web/controllers/sources/source_html/source_form.html.heex
index 8e3bbfe..c4f8f70 100644
--- a/lib/pinchflat_web/controllers/sources/source_html/source_form.html.heex
+++ b/lib/pinchflat_web/controllers/sources/source_html/source_form.html.heex
@@ -35,6 +35,6 @@
/>
<:actions>
- <.button class="mt-15 mb-5 sm:mb-7.5">Save Source
+ <.button class="my-10 sm:mb-7.5 w-full sm:w-auto">Save Source
diff --git a/test/pinchflat_web/controllers/media_profile_controller_test.exs b/test/pinchflat_web/controllers/media_profile_controller_test.exs
index 16e5133..c5cdd19 100644
--- a/test/pinchflat_web/controllers/media_profile_controller_test.exs
+++ b/test/pinchflat_web/controllers/media_profile_controller_test.exs
@@ -17,7 +17,7 @@ defmodule PinchflatWeb.MediaProfileControllerTest do
describe "index" do
test "lists all media_profiles", %{conn: conn} do
conn = get(conn, ~p"/media_profiles")
- assert html_response(conn, 200) =~ "All Media Profiles"
+ assert html_response(conn, 200) =~ "Media Profiles"
end
end
@@ -45,7 +45,7 @@ defmodule PinchflatWeb.MediaProfileControllerTest do
assert redirected_to(conn) == ~p"/media_profiles/#{id}"
conn = get(conn, ~p"/media_profiles/#{id}")
- assert html_response(conn, 200) =~ "Media Profile ##{id}"
+ assert html_response(conn, 200) =~ "Media Profile"
end
test "renders errors when data is invalid", %{conn: conn} do
diff --git a/test/pinchflat_web/controllers/source_controller_test.exs b/test/pinchflat_web/controllers/source_controller_test.exs
index c9be7af..4f641f5 100644
--- a/test/pinchflat_web/controllers/source_controller_test.exs
+++ b/test/pinchflat_web/controllers/source_controller_test.exs
@@ -32,7 +32,7 @@ defmodule PinchflatWeb.SourceControllerTest do
describe "index" do
test "lists all sources", %{conn: conn} do
conn = get(conn, ~p"/sources")
- assert html_response(conn, 200) =~ "All Sources"
+ assert html_response(conn, 200) =~ "Sources"
end
end
@@ -61,7 +61,7 @@ defmodule PinchflatWeb.SourceControllerTest do
assert redirected_to(conn) == ~p"/sources/#{id}"
conn = get(conn, ~p"/sources/#{id}")
- assert html_response(conn, 200) =~ "Source ##{id}"
+ assert html_response(conn, 200) =~ "Source"
end
test "renders errors when data is invalid", %{conn: conn, invalid_attrs: invalid_attrs} do