Fixed kit parse error on model edit

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2022-10-18 15:00:33 -07:00
parent f1c82ca732
commit 23e613f903

View file

@ -1,6 +1,6 @@
@extends('layouts/edit-form', [
'createText' => {{ trans(admin/kits/general.append_model) }},
'updateText' => {{ trans(admin/kits/general.update_appended_model) }},
'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]),
])