@extends('themes.default1.layouts.blank') @section('Emails') class="active" @stop @section('emails-bar') active @stop @section('emails') class="active" @stop @section('HeadInclude') @stop @section('PageHeader') @stop @section('breadcrumbs') @stop @section('content')

{{Lang::get('lang.emails')}}

{{Lang::get('lang.create_email')}}
@if(Session::has('success'))
Success! {{Session::get('success')}}
@endif @if(Session::has('fails'))
Alert! Failed. {{Session::get('fails')}}
@endif @foreach($emails as $email) @endforeach
{{Lang::get('lang.email')}} {{Lang::get('lang.priority')}} {{Lang::get('lang.department')}} {{Lang::get('lang.created')}} {{Lang::get('lang.last_updated')}} {{Lang::get('lang.action')}}
{{$email -> email_address }} {{$email -> priority }} {{$email -> department }} {{$email -> created_at}} {{$email -> updated_at}} {!! Form::open(['route'=>['emails.destroy', $email->id],'method'=>'DELETE']) !!}
{!! Form::button(' Delete', ['type' => 'submit', 'class'=> 'actions-line icon-trash', 'onclick'=>'return confirm("Are you sure?")']) !!}
{!! Form::close() !!}
@stop @section('FooterInclude') @stop @stop