Skip to content

Commit

Permalink
Merge pull request #1 from srmklive/srmklive-patch-1
Browse files Browse the repository at this point in the history
Updated view files ...
  • Loading branch information
srmklive committed Oct 31, 2015
2 parents e6be11e + 87b4c90 commit 9d16431
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions views/alert.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/sweetalert/1.1.3/sweetalert.min.css" />
@endsection

@if(session()->has('flashalert'))

@section('scripts')
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/sweetalert/1.1.3/sweetalert.min.js"></script>

@if(session()->has('flashalert'))
<script>
swal({
title: "{{session('flashalert.title')}}",
Expand All @@ -16,6 +16,6 @@
showConfirmButton: "{{config('flashalert.show_confirmation_button')}}"
});
</script>
@endsection
@endif

@endif
@endsection

0 comments on commit 9d16431

Please sign in to comment.