I have customize the sweet-alert box as it is in github page. But it doesn't work I expected. Can anybody help me?
Here is the controller method which includes the alert.
public function store(Requests\EventRequest $request){
EventCal::create($request->all());
$input=Request::all();
$input['eventDate'] = $_POST['eventDate'];
$input['title'] = $_POST['title'];
Alert::success('Success Message', 'Optional','error',true,'ok');
return view('evntform');
// return $this->viewCal();
}
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire