diff --git a/views/file-uploader.njk b/views/file-uploader.njk index 8e89f99..d58a148 100644 --- a/views/file-uploader.njk +++ b/views/file-uploader.njk @@ -18,11 +18,11 @@ id="upload-form"> {{ macros.field(_locals, 'file', 'upload', '', 'Choose wisely', 'The maximum upload size is ' + max_upload_size + 'MiB', validation_attributes='required') }} - {{ macros.field(_locals, 'number', 'expire_after_days', '30', 'How many days to delete this file after', null, validation_attributes='max="1825"') }} {{ macros.field(_locals, 'checkbox', 'never_expire', '', 'Never delete this file') }} + {{ macros.field(_locals, 'number', 'expire_after_days', '30', 'How many days to delete this file after', null, validation_attributes='max="1825"') }} - {{ macros.field(_locals, 'text', 'slug', '', 'Custom url slug', 'Example: beautiful_image.jpg sets url to https://'+default_domain+'/beautiful_image.jpg', validation_attributes='disabled') }} {{ macros.field(_locals, 'checkbox', 'autogen_url', '', 'Generate url automatically', null, validation_attributes='checked') }} + {{ macros.field(_locals, 'text', 'slug', '', 'Custom url slug', 'Example: beautiful_image.jpg sets url to https://'+default_domain+'/beautiful_image.jpg', validation_attributes='disabled') }} {{ macros.csrf(getCsrfToken) }} diff --git a/views/url-shrinker.njk b/views/url-shrinker.njk index 3e31585..62e5969 100644 --- a/views/url-shrinker.njk +++ b/views/url-shrinker.njk @@ -17,8 +17,8 @@