@extends('layouts/edit-form', [ 'createText' => 'Append model', // TODO: trans 'updateText' => 'Update appended model', // TODO: trans 'formAction' => ($item) ? 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') {{--
@if ($model_id = Input::old('model_id', (isset($item)) ? $item->model_id : '')) @else @endif
@can('create', \App\Models\AssetModel::class) @if ((!isset($hide_new)) || ($hide_new!='true')) New @endif @endcan
{!! $errors->first('model_id', '
:message
') !!}
--}}
{!! $errors->first('quantity', ' :message') !!}
{{-- --}} @stop