@extends('app') @section('page-title') @section('content') @if (isset($status))
@endif
@lang('modules.ticket.createTitle')
{!! Form::model($ticket, ['id'=>'createTicket','class'=>'ajax-form11','files' => 'true','method' => isset($ticket) && $ticket->id ? 'put' : 'post']) !!}
{!! $errors->first('severity', '')!!}
{!! $errors->first('ticket_type', '')!!}
{!! Form::text('subject', isset($department) && $department->subject ? $department->subject : old('subject'), ['class' => 'form-control', 'id' => 'subject', 'Placeholder' => 'Subject' ,'required']) !!} {!! $errors->first('subject', '')!!}
{!! $errors->first('description', '')!!}
Max size limit: 5MB
@foreach ($errors->all() as $error) @if (strpos($error, 'attachment'))
  • {{ $error }} @endif @endforeach
  • {!! Form::close() !!}
    @endsection @push('footer-script') @endpush