@extends('layouts.admin') @section('heading', $garmentType->name . ($garmentType->name_ta ? ' / ' . $garmentType->name_ta : '') . ' — Measurement Builder') @section('subheading', 'Add fields, choose input type, and drag to set the order staff will see.') @section('actions') ← Back to garments @endsection @section('content') @if (session('status'))
{{ session('status') }}
@endif

Fields on this form (drag ⠿ to reorder)

@forelse($configured as $field)
@csrf @method('PUT')
{{ $field->measurementField->unit }}
@csrf @method('DELETE')
@empty

No fields added yet — pick from the right to start building the form.

@endforelse

Add a field

@if ($errors->any())
{{ $errors->first() }}
@endif
@forelse($available as $mf)
@csrf {{ $mf->name }} @if($mf->name_ta) / {{ $mf->name_ta }} @endif
@empty

All existing fields have been added.

@endforelse

Can't find it? Create a new field

@csrf
@endsection @push('scripts') @endpush