confirmation dialog and user wasn't getting saved #52

This commit is contained in:
Nabeel Shahzad
2018-01-08 16:35:52 -06:00
parent 6b265ed67b
commit 4eb5aeebed
4 changed files with 10 additions and 5 deletions

View File

@@ -23,7 +23,9 @@
{!!
Form::button('delete',
['type' => 'submit',
'class' => ' btn btn-danger btn-xs text-small'])
'class' => ' btn btn-danger btn-xs text-small',
'onclick' => "return confirm('Are you sure?')"
])
!!}
{!! Form::close() !!}