39 lines
1.2 KiB
PHP
Raw Normal View History

2022-06-01 10:15:55 +03:00
<x-form.accordion type="advanced">
<x-slot name="head">
<x-form.accordion.head
title="{{ trans_choice($textSectionAdvancedTitle, 1) }}"
description="{{ trans($textSectionAdvancedDescription, ['type' => $type]) }}"
/>
</x-slot>
<x-slot name="body">
@stack('footer_start')
2020-12-24 01:28:38 +03:00
2022-06-01 10:15:55 +03:00
@if (! $hideFooter)
<div class="{{ $classFooter }}">
<x-form.group.textarea name="footer" label="{{ trans('general.footer') }}" :value="$footer" not-required rows="7" />
</div>
@endif
2020-12-24 01:28:38 +03:00
2022-06-01 10:15:55 +03:00
<div class="sm:col-span-4 grid gap-x-8 gap-y-1">
@stack('category_start')
2021-01-22 12:38:17 +03:00
2022-06-01 10:15:55 +03:00
@if (! $hideCategory)
<div class="{{ $classCategory }}">
<x-form.group.category :type="$typeCategory" :selected="$categoryId" />
2020-12-24 01:28:38 +03:00
</div>
2022-06-01 10:15:55 +03:00
@else
<x-form.input.hidden name="category_id" :value="$categoryId" />
@endif
@stack('attachment_end')
@if (! $hideAttachment)
<div class="{{ $classAttachment }}">
<x-form.group.attachment />
</div>
@endif
2020-12-24 01:28:38 +03:00
</div>
2022-06-01 10:15:55 +03:00
</x-slot>
</x-form.accordion>