From e33a46bddcc914a621eba8c0aaa83e68ca36f5f9 Mon Sep 17 00:00:00 2001 From: Kieran Date: Thu, 22 Feb 2024 15:48:25 -0800 Subject: [PATCH] Small form improvements (#36) * Clarified intent of custom name field * More copy improvements --- .../media_profile_html/media_profile_form.html.heex | 9 ++++++++- .../sources/source_html/source_form.html.heex | 7 ++++++- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/lib/pinchflat_web/controllers/media_profiles/media_profile_html/media_profile_form.html.heex b/lib/pinchflat_web/controllers/media_profiles/media_profile_html/media_profile_form.html.heex index 0786aa7f..09c8de2d 100644 --- a/lib/pinchflat_web/controllers/media_profiles/media_profile_html/media_profile_form.html.heex +++ b/lib/pinchflat_web/controllers/media_profiles/media_profile_html/media_profile_form.html.heex @@ -2,10 +2,17 @@ <.error :if={@changeset.action}> Oops, something went wrong! Please check the errors below. +

General Options

- <.input field={f[:name]} type="text" label="Name" placeholder="New Profile" help="(required)" /> + <.input + field={f[:name]} + type="text" + label="Name" + placeholder="New Profile" + help="Something descriptive. Does not impact indexing or downloading (required)" + /> <.input field={f[:output_path_template]} 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 28c57470..88bbba7f 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 @@ -3,7 +3,12 @@ Oops, something went wrong! Please check the errors below. - <.input field={f[:friendly_name]} type="text" label="Custom Name" /> + <.input + field={f[:friendly_name]} + type="text" + label="Custom Name" + help="Something descriptive. Does not impact indexing or downloading" + /> <.input field={f[:original_url]} type="text" label="Source URL" help="URL of a channel or playlist (required)" />