@extends('backoffice.dashboard') @section('content')

{{ $fieldDefinition->exists ? 'تعديل الحقل' : 'إضافة حقل جديد للنموذج' }}

الحقول التي تحمل علامة * إلزامية. يمكنك معاينة مفتاح الحقل الذي سيُنشأ تلقائياً.

@if($errors->any())
    @foreach($errors->all() as $err)
  • {{ $err }}
  • @endforeach
@endif
@csrf @if($fieldDefinition->exists) @method('PUT') @endif {{-- LABEL + key preview --}}
{{-- سيتم إنشاء مفتاح آلياً من هذه التسمية (لا حاجة لإدخاله) --}}
{{-- INPUT TYPE + SORT ORDER --}}
قيمة أصغر تعني عرضاً أعلى في الاستمارة
{{-- OPTIONS (visible only for select/radio/checkbox/multiselect) --}} {{-- VISIBLE / REQUIRED toggles --}}
is_visible) ? 'checked' : '' }}>
is_required) ? 'checked' : '' }}>
{{-- placeholder for alignment --}}
{{-- Actions --}}
العودة
@push('styles') @endpush @push('scripts') @endpush @endsection