Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
iamgergo committed Feb 14, 2024
1 parent 471eff1 commit 6bcc83b
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions resources/views/fields/fieldset.blade.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
<fieldset>
<legend>{{ $label }}</legend>
@foreach($fields as $field)
@include($field['template'], $field)
@endforeach
@if(empty($fields))
<x-root::alert>{{ __('No available fields.') }}</x-root::alert>
@else
@foreach($fields as $field)
@include($field['template'], $field)
@endforeach
@endif
</fieldset>

0 comments on commit 6bcc83b

Please sign in to comment.