2021-09-02 16:34:25 +00:00
|
|
|
<?= $this->extend('_layout') ?>
|
2020-10-08 16:38:30 +00:00
|
|
|
|
|
|
|
<?= $this->section('content') ?>
|
|
|
|
|
2021-09-20 15:45:38 +00:00
|
|
|
<form action="<?= route_to('cache-config') ?>" method="POST" class="flex flex-col w-full max-w-sm gap-y-4">
|
2020-10-08 16:38:30 +00:00
|
|
|
<?= csrf_field() ?>
|
|
|
|
|
2021-09-20 15:45:38 +00:00
|
|
|
<div class="flex flex-col mb-2">
|
|
|
|
<div class="flex items-center">
|
2021-11-05 14:36:34 +00:00
|
|
|
<span class="inline-flex items-center justify-center w-12 h-12 mr-2 text-sm font-semibold tracking-wider border-4 rounded-full text-accent-base border-accent-base">3/4</span>
|
2021-09-20 15:45:38 +00:00
|
|
|
<Heading tagName="h1"><?= lang('Install.form.cache_config') ?></h1>
|
|
|
|
</div>
|
2020-10-08 16:38:30 +00:00
|
|
|
|
2021-11-05 14:36:34 +00:00
|
|
|
<p class="mt-2 text-sm text-skin-muted"><?= lang(
|
2023-02-22 16:29:45 +00:00
|
|
|
'Install.form.cache_config_hint',
|
|
|
|
) ?></p>
|
2021-09-20 15:45:38 +00:00
|
|
|
</div>
|
2020-10-08 16:38:30 +00:00
|
|
|
|
2021-09-20 15:45:38 +00:00
|
|
|
<Forms.Field
|
|
|
|
as="Select"
|
|
|
|
name="cache_handler"
|
|
|
|
label="<?= lang('Install.form.cache_handler') ?>"
|
|
|
|
options="<?= esc(json_encode([
|
2023-06-12 14:47:38 +00:00
|
|
|
'file' => lang('Install.form.cacheHandlerOptions.file'),
|
|
|
|
'redis' => lang('Install.form.cacheHandlerOptions.redis'),
|
2023-02-22 16:29:45 +00:00
|
|
|
'predis' => lang('Install.form.cacheHandlerOptions.predis'),
|
|
|
|
])) ?>"
|
2021-09-20 15:45:38 +00:00
|
|
|
selected="file"
|
|
|
|
required="true" />
|
|
|
|
|
|
|
|
<Button variant="primary" class="self-end" iconRight="arrow-right" type="submit"><?= lang('Install.form.next') ?></Button>
|
2020-10-08 16:38:30 +00:00
|
|
|
|
|
|
|
<?= form_close() ?>
|
|
|
|
|
|
|
|
<?= $this->endSection() ?>
|