Update _action
This commit is contained in:
parent
a852b85945
commit
3ad5f82956
@ -2,7 +2,7 @@
|
||||
$route = explode('.', Route::currentRouteName());
|
||||
@endphp
|
||||
<div class="d-flex flex-row flex-center">
|
||||
<a href="{{ route($route[0].'.'.$route[1].'.edit',['blood' => $model->id]) }}"
|
||||
<a href="{{ route($route[0].'.'.$route[1].'.edit',[$route[1] => $model->id]) }}"
|
||||
class="kt_edit_form btn btn-icon btn-bg-light btn-active-light-primary btn-sm me-1">
|
||||
{!! getIcon("pencil", "fs-1 text-info","duotune") !!}
|
||||
</a>
|
||||
|
@ -2,7 +2,7 @@
|
||||
$route = explode('.', Route::currentRouteName());
|
||||
@endphp
|
||||
<div class="d-flex flex-row flex-center">
|
||||
<a href="{{ route($route[0].'.'.$route[1].'.edit',['gender' => $model->id]) }}"
|
||||
<a href="{{ route($route[0].'.'.$route[1].'.edit',[$route[1] => $model->id]) }}"
|
||||
class="kt_edit_form btn btn-icon btn-bg-light btn-active-light-primary btn-sm me-1">
|
||||
{!! getIcon("pencil", "fs-1 text-info","duotune") !!}
|
||||
</a>
|
||||
|
@ -4,7 +4,7 @@
|
||||
<div class="d-flex flex-row flex-center">
|
||||
<a href="{{ route($route[0].'.'.$route[1].'.edit',[$route[1] => $model->id]) }}"
|
||||
class="kt_edit_form btn btn-icon btn-bg-light btn-active-light-primary btn-sm me-1">
|
||||
{!! getIcon("pencil", "fs-1 text-info","duotune") !!}
|
||||
{!! getIcon("pencil", "fs-1 text-info","duotune") !!} {{ pwd() }}
|
||||
</a>
|
||||
|
||||
{!! Form::open(['method' => 'DELETE','route' => [$route[0].'.'.$route[1].'.destroy', $model->id],'class'=>'']) !!}
|
||||
|
Loading…
Reference in New Issue
Block a user