@extends('layouts.app') @section('style') @endsection @section('content')
@if(Session::has('success'))
{!! Session::get('success') !!}
@endif @if(Session::has('error'))
{!! Session::get('error') !!}
@endif

Add Header - Footer

{{--
--}} {{ Form::open(array('route' => 'header_footer.store', 'role'=>'form', 'class'=>'m-form m-form--fit m-form--label-align-right', 'id'=>'storeHeaderFooter', "enctype"=>"multipart/form-data")) }}
{{ Form::text('name', !empty($email->name)? $email->name :null, ['class'=>'form-control m-input', 'id'=>'name', 'required']) }} {!! $errors->first('name', ':message') !!}
{{ Form::select('type', ["" => "Select Type","header" => "Header", "footer" => "Footer"], !empty($email->type)? $email->type :null, ['class'=>'form-control m-input', 'id'=>'type', 'required']) }} {!! $errors->first('type', ':message') !!}
{{--
{{ Form::text('folder_name', !empty($email->name)? $email->name :null, ['class'=>'form-control m-input', 'id'=>'folder_name']) }} Supported only: alphabets and underscore {!! $errors->first('folder_name', ':message') !!}
{{ Form::file('images[]', array("multiple"=>"multiple", 'id'=>'images', 'class' => 'custom-file-input')) }} Supported File Type: jpg, jpeg, png {!! $errors->first('images.*', ':message') !!}
--}}
{!! $errors->first('mail_body', ':message') !!}
{!! Form::submit("Save", ['name' => 'Submit','class' => 'btn btn-primary']) !!} {!! Form::button("Preview", ['name' => 'Preview','class' => 'btn btn-danger','id'=>'preview']) !!} {!! link_to(URL::full(), "Cancel",array('class' => 'btn btn-secoundry')) !!}
{{ Form::close() }}
@endsection @section('script') {{ Html::script('custom/summernote/summernote.js') }} @endsection