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 a530fe6..50055f1 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 @@ -93,6 +93,24 @@ help="Uses your YouTube cookies for this source (if configured). Used for downloading private playlists and videos. See docs for important details" /> +
+ <.input + field={f[:min_duration_seconds]} + type="number" + label="Minimum Duration (seconds)" + min="0" + help="Minimum duration of the media to be downloaded. Can be blank" + /> + + <.input + field={f[:max_duration_seconds]} + type="number" + label="Maximum Duration (seconds)" + min="0" + help="Maximum duration of the media to be downloaded. Can be blank" + /> +
+ <.input field={f[:download_cutoff_date]} type="text" @@ -121,22 +139,6 @@ Tread carefully

- <.input - field={f[:min_duration_seconds]} - type="number" - label="Minimum Duration (seconds)" - min="0" - help="Minimum duration of the media to be downloaded. Can be blank" - /> - - <.input - field={f[:max_duration_seconds]} - type="number" - label="Maximum Duration (seconds)" - min="0" - help="Maximum duration of the media to be downloaded. Can be blank" - /> - <.input field={f[:title_filter_regex]} type="text"