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