Improved form helpers more; Added a helper to every field

This commit is contained in:
Kieran Eglin 2024-03-12 17:27:51 -07:00
parent 998acca187
commit ae86f1da1f
No known key found for this signature in database
GPG key ID: 193984967FCF432D
3 changed files with 4 additions and 2 deletions

View file

@ -98,6 +98,7 @@
options={friendly_format_type_options()}
type="select"
label="Include Livestreams?"
help="Excludes media that comes from a past livestream"
/>
<h3 class="mt-8 text-2xl text-black dark:text-white">

View file

@ -14,7 +14,7 @@ defmodule PinchflatWeb.Sources.SourceHTML do
def friendly_index_frequencies do
[
{"On Create", -1},
{"Only once when first created", -1},
{"1 Hour", 60},
{"3 Hours", 3 * 60},
{"6 Hours", 6 * 60},

View file

@ -21,6 +21,7 @@
options={Enum.map(@media_profiles, &{&1.name, &1.id})}
type="select"
label="Media Profile"
help="Sets your preferences for what media to look for and how to store it"
/>
<h3 class="mt-8 text-2xl text-black dark:text-white">
@ -32,7 +33,7 @@
options={friendly_index_frequencies()}
type="select"
label="Index Frequency"
help="Time between one index of this source finishing and the next one starting. Setting to 'On Create' will still run an initial index but no subsequent ones"
help="Indexing is the process of checking for media to download. Sets the time between one index of this source finishing and the next one starting"
/>
<%!-- TODO: use Alpine to disable the index frequency when fast indexing is enabled --%>