Added retention period to form

This commit is contained in:
Kieran Eglin 2024-04-02 15:30:27 -07:00
parent 45851ad886
commit 5c909cfbfd
No known key found for this signature in database
GPG key ID: 193984967FCF432D

View file

@ -88,6 +88,14 @@
help="Only download media uploaded after this date. Leave blank to download all media. Must be in YYYY-MM-DD format" help="Only download media uploaded after this date. Leave blank to download all media. Must be in YYYY-MM-DD format"
/> />
<.input
field={f[:retention_period_days]}
type="number"
label="Retention Period (days)"
min="0"
help="Days between when media is *downloaded* and when it's deleted. Set to 0 or delete to keep media indefinitely"
/>
<section x-show="advancedMode"> <section x-show="advancedMode">
<h3 class="mt-8 text-2xl text-black dark:text-white"> <h3 class="mt-8 text-2xl text-black dark:text-white">
Advanced Options Advanced Options