akaunting 3.0 (the last dance)
This commit is contained in:
11
resources/views/components/form/section/head.blade.php
Normal file
11
resources/views/components/form/section/head.blade.php
Normal file
@ -0,0 +1,11 @@
|
||||
<div class="border-b-2 border-gray-200 {{ !empty($description) ? ' pb-4' : 'pb-2' }}">
|
||||
<h2 class="lg:text-lg font-medium text-black">
|
||||
{{ $title }}
|
||||
</h2>
|
||||
|
||||
@if (!empty($description))
|
||||
<span class="text-sm font-light text-black">
|
||||
{!! $description !!}
|
||||
</span>
|
||||
@endif
|
||||
</div>
|
17
resources/views/components/form/section/index.blade.php
Normal file
17
resources/views/components/form/section/index.blade.php
Normal file
@ -0,0 +1,17 @@
|
||||
<div {{ ((! $attributes->has('override')) || ($attributes->has('override') && ! in_array('class', explode(',', $attributes->get('override'))))) ? $attributes->merge(['class' => 'mb-14']) : $attributes }}>
|
||||
@if (!empty($head) && $head->isNotEmpty())
|
||||
{!! $head !!}
|
||||
@endif
|
||||
|
||||
@if (! empty($body) && $body->isNotEmpty())
|
||||
<div class="grid sm:grid-cols-6 gap-x-8 gap-y-6 my-3.5">
|
||||
{!! $body !!}
|
||||
</div>
|
||||
@endif
|
||||
|
||||
@if (! empty($foot) && $foot->isNotEmpty())
|
||||
<div class="relative__footer">
|
||||
{!! $foot !!}
|
||||
</div>
|
||||
@endif
|
||||
</div>
|
Reference in New Issue
Block a user