Disable save button after click

This commit is contained in:
cuneytsenturk
2018-09-17 13:57:03 +03:00
parent 0306877dab
commit b8087bf29c
45 changed files with 71 additions and 48 deletions

View File

@ -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') }}

View File

@ -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">