wip file field

This commit is contained in:
2024-09-28 18:36:18 +03:00
parent 5ed57838fc
commit 39e7a3aed4
25 changed files with 674 additions and 44 deletions
+22
View File
@@ -0,0 +1,22 @@
@props([
'schema',
'createMode',
])
@php
$groups = ["Main",...$schema->groups];
if(!$createMode){
$groups[] = "Backlinks";
}
@endphp
<ul class="tabs">
@foreach($groups as $tab)
<li class="tab">
<button class="button" aria-current="page">
{{$tab}}
</button>
</li>
@endforeach
</ul>