@if ($contract_category->id) {!! Form::model($contract_category, ['route' => ['admin.contract-categories.update', $contract_category->id], 'method' => 'PUT']) !!} @else {!! Form::model($contract_category, ['route' => ['admin.contract-categories.store'], 'method' => 'POST']) !!} @endif