Disable save button after click
This commit is contained in:
@ -5,7 +5,7 @@
|
||||
@section('content')
|
||||
<!-- Default box -->
|
||||
<div class="box box-success">
|
||||
{!! Form::open(['url' => 'settings/categories', 'role' => 'form']) !!}
|
||||
{!! Form::open(['url' => 'settings/categories', 'role' => 'form', 'class' => 'form-loading-button']) !!}
|
||||
|
||||
<div class="box-body">
|
||||
{{ Form::textGroup('name', trans('general.name'), 'id-card-o') }}
|
||||
|
@ -8,7 +8,8 @@
|
||||
{!! Form::model($category, [
|
||||
'method' => 'PATCH',
|
||||
'url' => ['settings/categories', $category->id],
|
||||
'role' => 'form'
|
||||
'role' => 'form',
|
||||
'class' => 'form-loading-button'
|
||||
]) !!}
|
||||
|
||||
<div class="box-body">
|
||||
|
Reference in New Issue
Block a user