WuYongJie 9595267ee7
Some checks failed
Tests / PHP 8.1 (push) Has been cancelled
Tests / PHP 8.2 (push) Has been cancelled
Tests / PHP 8.3 (push) Has been cancelled
chore: 导入 Akaunting 初始源码与团队协作规则
2026-07-20 18:20:25 +08:00

32 lines
1.3 KiB
PHP

<x-layouts.admin>
<x-slot name="title">{{ trans('general.title.new', ['type' => trans_choice('general.dashboards', 1)]) }}</x-slot>
<x-slot name="content">
<x-form.container>
<x-form id="dashboard" route="dashboards.store">
<x-form.section>
<x-slot name="head">
<x-form.section.head title="{{ trans('general.general') }}" description="{{ trans('dashboards.form_description.general') }}" />
</x-slot>
<x-slot name="body">
<x-form.group.text name="name" label="{{ trans('general.name') }}" />
@can('read-auth-users')
<x-form.group.checkbox name="users" label="{{ trans_choice('general.users', 2) }}" :options="$users" :checked="[]" />
@endcan
</x-slot>
</x-form.section>
<x-form.section>
<x-slot name="foot">
<x-form.buttons cancel-route="dashboards.index" />
</x-slot>
</x-form.section>
</x-form>
</x-form.container>
</x-slot>
<x-script folder="common" file="dashboards" />
</x-layouts.admin>