{% extends "base.html" %} {% block title %}{{ _('Media Storage Settings') }}{% endblock %} {% block content %}

{{ _('Media Storage Settings') }}

{{ _('Credentials are stored encrypted at rest and are never shown again after saving. Leave a field blank to keep its current value.') }}

{{ _('Paths') }}
{{ _('Local path or scheme-prefixed URI (s3://, r2://, unibo://, webdav://, gdrive://, dropbox://, cloudinary://, http(s)://).') }}
{% for backend_key, defn in backends.items() %}
{{ defn.label }} {% if configured.get(backend_key) %} {{ _('Configured') }} {% endif %}

{{ defn.scheme_hint }}

{% for field in defn.fields %} {% set input_name = backend_key ~ '_' ~ field %}
{% if field in defn.checkboxes %}
{% else %} {% endif %}
{% endfor %}
{% if 'r2' in defn.get('mirror_to', []) %} {% endif %}
{% endfor %}
{% endblock %}