@extends('layouts/edit-form', [ 'createText' => 'Append accessory', // TODO: trans 'updateText' => 'Update appended accessory', // TODO: trans 'formAction' => (isset($item->id)) ? route('kits.accessories.update', ['kit_id' => $kit->id, 'accessory_id' => $item->accessory_id]) : route('kits.accessories.store', ['kit_id' => $kit->id]), ]) {{-- Page content --}} @section('inputFields') @include ('partials.forms.edit.accessory-select', ['translated_name' => 'Accessory', 'fieldname' => 'accessory_id', 'required' => 'true']){{-- TODO: trans --}}