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