Files
breadcrumb-the-shire/pages/admin/permissions/create(default).phtml

47 lines
1.1 KiB
PHTML
Raw Normal View History

2026-02-04 23:31:53 +01:00
<?php
/**
* @var array<int, string> $errors
* @var array $form
*/
?>
<div class="app-details-container">
<section>
2026-02-11 19:28:12 +01:00
<?php
$titlebar = [
'title' => t('Create permission'),
'backHref' => 'admin/permissions',
'backTitle' => t('Cancel'),
'actions' => [
[
'form' => 'permission-form',
'name' => 'action',
'value' => 'create',
'class' => 'secondary outline',
'label' => t('Create'),
],
[
'form' => 'permission-form',
'name' => 'action',
'value' => 'create_close',
'class' => 'primary',
'label' => t('Create & close'),
],
],
];
require templatePath('partials/app-details-titlebar.phtml');
2026-02-11 19:28:12 +01:00
?>
2026-03-04 15:56:58 +01:00
<?php
$validationSummaryErrors = $validationSummaryErrors ?? ($errors ?? []);
require templatePath('partials/app-details-validation-summary.phtml');
?>
2026-02-04 23:31:53 +01:00
<?php
$values = $form ?? [];
$detailsOpenAll = true;
2026-03-14 16:08:19 +01:00
$ignoreTabStorage = true;
2026-02-04 23:31:53 +01:00
require __DIR__ . '/_form.phtml';
?>
</section>
</div>