@extends('layout.dashboard') @section('content')
{{ trans('dashboard.incidents.incidents') }} > {{ trans('dashboard.incidents.add.title') }}
@if($incident = Session::get('incident'))
@if($incident->isValid()) {{ sprintf("%s %s", trans('dashboard.notifications.awesome'), trans('dashboard.incidents.add.success')) }} @else {{ sprintf("%s %s", trans('dashboard.notifications.whoops'), trans('dashboard.incidents.add.failure').' '.$incident->getErrors()) }} @endif
@endif {{ Form::open(['name' => 'IncidentForm', 'class' => 'form-vertical', 'role' => 'form']) }}

{{ trans('forms.incidents.message-help') }}
{{ trans('forms.cancel') }} {{ Form::close() }}
@stop