{% import "_includes/forms" as forms %}

<form id="asset-indexes" class="utility" method="post" accept-charset="UTF-8">
    <input type="hidden" name="action" value="utilities/asset-index-perform-action">
    {{ csrfInput() }}

    {{ checkboxSelectHtml|raw }}

    {{ forms.lightswitchField({
        name: 'cacheImages',
        label: 'Cache remote images?'|t('app'),
        instructions: 'Whether remotely-stored images should be downloaded and stored locally, to speed up transform generation.'|t('app'),
        on: true,
    }) }}

    <div class="buttons">
        <input type="submit" class="btn submit" value="{{ 'Update asset indexes'|t('app') }}" />
        <div class="utility-status"></div>
    </div>
</form>
