Initial commit
This commit is contained in:
25
resources/views/components/jetstream/form-section.blade.php
Normal file
25
resources/views/components/jetstream/form-section.blade.php
Normal file
@@ -0,0 +1,25 @@
|
||||
@props(['submit'])
|
||||
|
||||
<div {{ $attributes->merge(['class' => 'md:grid md:grid-cols-3 md:gap-6']) }}>
|
||||
<div class="mt-6 mb-6 md:mt-0 md:mb-0">
|
||||
<x-jetstream.section-title>
|
||||
<x-slot name="title">{{ $title }}</x-slot>
|
||||
<x-slot name="description">{{ $description }}</x-slot>
|
||||
</x-jetstream.section-title>
|
||||
</div>
|
||||
|
||||
<div class="md:mt-0 md:col-span-2">
|
||||
<form wire:submit="{{ $submit }}">
|
||||
<div class="px-4 py-5 bg-theme-background sm:p-6 shadow sm:rounded-md">
|
||||
<div class="grid grid-cols-6 gap-6">
|
||||
{{ $form }}
|
||||
</div>
|
||||
@if (isset($actions))
|
||||
<div class="flex items-center justify-end px-4 py-3 bg-gray-white text-right">
|
||||
{{ $actions }}
|
||||
</div>
|
||||
@endif
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user