Fixed RMB for kits and fields
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
75db0d9e66
commit
671b64bc6b
2 changed files with 3 additions and 2 deletions
|
@ -1,12 +1,13 @@
|
|||
@extends('layouts/edit-form', [
|
||||
'createText' => trans('admin/kits/general.append_model'),
|
||||
'updateText' => trans('admin/kits/general.update_appended_model'),
|
||||
'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]),
|
||||
'formAction' => (isset($item->id)) ? route('kits.models.update', ['kit' => $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'])
|
||||
|
||||
<div class="form-group {{ $errors->has('quantity') ? ' has-error' : '' }}">
|
||||
<label for="quantity" class="col-md-3 control-label">{{ trans('general.quantity') }}</label>
|
||||
<div class="col-md-7 required">
|
||||
|
|
|
@ -34,7 +34,7 @@ Route::group([ 'prefix' => 'fields','middleware' => ['auth'] ], function () {
|
|||
|
||||
Route::resource('fieldsets', CustomFieldsetsController::class, [
|
||||
'parameters' => [
|
||||
'fieldset' => 'field_id',
|
||||
'fieldset' => 'fieldset',
|
||||
'field' => 'field_id'
|
||||
]
|
||||
]);
|
||||
|
|
Loading…
Add table
Reference in a new issue