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

Alert Management Create Alert

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

Alert Info

@include('backend.alert.includes.partials.alert-header-buttons')
{{ Form::label('title', 'Alert Title', ['class' => 'col-lg-2 control-label']) }}
{{ Form::text('alerttitle', null, ['class' => 'form-control', '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', true, array('disabled')) }}Push
{{ Form::checkbox('text', '1', false) }}Text
{{ Form::checkbox('email', '1', false) }}Email
{{ Form::checkbox('response', '1', false) }}Require OK/NOT OK Responses
{{ Form::submit(trans('buttons.general.crud.create'), ['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