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