From 202b70dc6605d3be436561708fca8eee91e1b8b7 Mon Sep 17 00:00:00 2001 From: shibao Date: Sun, 16 Jun 2024 11:47:51 -0400 Subject: [PATCH] fix changeset warning --- .../components/add_shot_record_component.html.heex | 2 +- .../controllers/user_registration_html/new.html.heex | 2 +- .../controllers/user_reset_password_html/edit.html.heex | 2 +- .../controllers/user_settings_html/edit.html.heex | 6 +++--- .../live/container_live/form_component.html.heex | 2 +- lib/cannery_web/live/invite_live/form_component.html.heex | 2 +- lib/cannery_web/live/pack_live/form_component.html.heex | 2 +- lib/cannery_web/live/range_live/form_component.html.heex | 2 +- lib/cannery_web/live/tag_live/form_component.html.heex | 2 +- lib/cannery_web/live/type_live/form_component.html.heex | 2 +- 10 files changed, 12 insertions(+), 12 deletions(-) diff --git a/lib/cannery_web/components/add_shot_record_component.html.heex b/lib/cannery_web/components/add_shot_record_component.html.heex index 50c7266..fc79a7c 100644 --- a/lib/cannery_web/components/add_shot_record_component.html.heex +++ b/lib/cannery_web/components/add_shot_record_component.html.heex @@ -13,7 +13,7 @@ phx-submit="save" >
<%= changeset_errors(@changeset) %> diff --git a/lib/cannery_web/controllers/user_registration_html/new.html.heex b/lib/cannery_web/controllers/user_registration_html/new.html.heex index 7c740b5..4fad8d8 100644 --- a/lib/cannery_web/controllers/user_registration_html/new.html.heex +++ b/lib/cannery_web/controllers/user_registration_html/new.html.heex @@ -9,7 +9,7 @@ action={~p"/users/register"} class="flex flex-col space-y-4 sm:space-y-0 sm:grid sm:grid-cols-3 sm:gap-4 justify-center items-center" > -

+

<%= dgettext("errors", "Oops, something went wrong! Please check the errors below.") %>

diff --git a/lib/cannery_web/controllers/user_reset_password_html/edit.html.heex b/lib/cannery_web/controllers/user_reset_password_html/edit.html.heex index 154db2f..9412c44 100644 --- a/lib/cannery_web/controllers/user_reset_password_html/edit.html.heex +++ b/lib/cannery_web/controllers/user_reset_password_html/edit.html.heex @@ -9,7 +9,7 @@ action={~p"/users/reset_password/#{@token}"} class="flex flex-col space-y-4 sm:space-y-0 sm:grid sm:grid-cols-3 sm:gap-4 justify-center items-center" > -

+

<%= dgettext("errors", "Oops, something went wrong! Please check the errors below.") %>

diff --git a/lib/cannery_web/controllers/user_settings_html/edit.html.heex b/lib/cannery_web/controllers/user_settings_html/edit.html.heex index 2c909f8..113808b 100644 --- a/lib/cannery_web/controllers/user_settings_html/edit.html.heex +++ b/lib/cannery_web/controllers/user_settings_html/edit.html.heex @@ -16,7 +16,7 @@
<%= dgettext("errors", "Oops, something went wrong! Please check the errors below.") %> @@ -58,7 +58,7 @@
<%= dgettext("errors", "Oops, something went wrong! Please check the errors below.") %> @@ -112,7 +112,7 @@ ) %>
<%= dgettext("errors", "Oops, something went wrong! Please check the errors below.") %> diff --git a/lib/cannery_web/live/container_live/form_component.html.heex b/lib/cannery_web/live/container_live/form_component.html.heex index 369e3c7..114a2f5 100644 --- a/lib/cannery_web/live/container_live/form_component.html.heex +++ b/lib/cannery_web/live/container_live/form_component.html.heex @@ -12,7 +12,7 @@ phx-submit="save" >
<%= changeset_errors(@changeset) %> diff --git a/lib/cannery_web/live/invite_live/form_component.html.heex b/lib/cannery_web/live/invite_live/form_component.html.heex index 0a8034d..1429d1a 100644 --- a/lib/cannery_web/live/invite_live/form_component.html.heex +++ b/lib/cannery_web/live/invite_live/form_component.html.heex @@ -12,7 +12,7 @@ phx-submit="save" >
<%= changeset_errors(@changeset) %> diff --git a/lib/cannery_web/live/pack_live/form_component.html.heex b/lib/cannery_web/live/pack_live/form_component.html.heex index d0682d4..cbcb1d7 100644 --- a/lib/cannery_web/live/pack_live/form_component.html.heex +++ b/lib/cannery_web/live/pack_live/form_component.html.heex @@ -13,7 +13,7 @@ class="flex flex-col space-y-4 sm:space-y-0 sm:grid sm:grid-cols-3 sm:gap-4 justify-center items-center" >
<%= changeset_errors(@changeset) %> diff --git a/lib/cannery_web/live/range_live/form_component.html.heex b/lib/cannery_web/live/range_live/form_component.html.heex index ba81100..ad4ef3c 100644 --- a/lib/cannery_web/live/range_live/form_component.html.heex +++ b/lib/cannery_web/live/range_live/form_component.html.heex @@ -13,7 +13,7 @@ phx-submit="save" >
<%= changeset_errors(@changeset) %> diff --git a/lib/cannery_web/live/tag_live/form_component.html.heex b/lib/cannery_web/live/tag_live/form_component.html.heex index 73b4c62..0f5bdef 100644 --- a/lib/cannery_web/live/tag_live/form_component.html.heex +++ b/lib/cannery_web/live/tag_live/form_component.html.heex @@ -12,7 +12,7 @@ phx-submit="save" >
<%= changeset_errors(@changeset) %> diff --git a/lib/cannery_web/live/type_live/form_component.html.heex b/lib/cannery_web/live/type_live/form_component.html.heex index 828ef86..bf6b648 100644 --- a/lib/cannery_web/live/type_live/form_component.html.heex +++ b/lib/cannery_web/live/type_live/form_component.html.heex @@ -12,7 +12,7 @@ class="flex flex-col space-y-4 sm:space-y-0 sm:grid sm:grid-cols-3 sm:gap-4 justify-center items-center" >
<%= dgettext("errors", "Oops, something went wrong! Please check the errors below.") %>