@extends ('backend.layouts.app') @section ('title', 'Alert Management' . ' | ' . 'Dismiss Alert') @section('after-styles') {{ Html::style('css/category.css') }} {{ Html::style("js/iCheck/blue.css") }} @endsection @section('page-header')

Alert Management Dismiss Alert

@endsection @section('content') {{ Form::open(['route' => 'admin.alert.curalert.destroy', 'id' => 'alertcreateform', 'class' => 'form-horizontal', 'role' => 'form', 'method' => 'post', 'enctype' => 'multipart/form-data']) }}

Alert Info

@include('backend.alert.includes.partials.alert-header-buttons')
{{Form::hidden('mainalert', $alert->id)}}
{{ Form::label('title', 'Alert Title', ['class' => 'col-lg-2 control-label']) }}
{{ Form::text('alerttitle', $alert->title.' Dismissed.', ['class' => 'form-control', 'readonly' => true, 'maxlength' => '191', 'required' => 'required', 'autofocus' => 'autofocus', 'placeholder' => 'Alert Title']) }}
{{ Form::label('content', 'Alert Content', ['class' => 'col-lg-2 control-label']) }}
{{ Form::textarea('alertcontent', null, ['class' => 'form-control', 'maxlength' => '191', 'required' => 'required', 'autofocus' => 'autofocus', 'placeholder' => 'Alert Content']) }}
{{ Form::label('', '', ['class' => 'col-lg-2 control-label']) }}
{{ Form::checkbox('push', '1', $alert->push == 1, array('disabled')) }}Push
{{ Form::checkbox('text', '1', $alert->text == 1, array('disabled')) }}Text
{{ Form::checkbox('email', '1', $alert->email == 1, array('disabled')) }}Email
{{ Form::checkbox('response', '1', $alert->response == 1, array('disabled')) }}Require OK/NOT OK Responses
{{ Form::submit('Dismiss', ['class' => 'btn btn-success btn-md', 'style' => 'width:100px !important;']) }}
{{--
--}} {{--
--}}
{{ link_to_route('admin.alert.curalert.index', trans('buttons.general.cancel'), [], ['class' => 'btn btn-danger btn-md', 'style' => 'width:100px !important;']) }}
{{--
--}}
{{--
--}} {{ Form::close() }} @endsection @section('after-scripts') {{ Html::script('js/backend/access/users/script.js') }} {{ Html::script("js/login.js") }} @endsection