@extends('layouts.admin') @section('content')
{{ trans('global.edit') }} {{ trans('cruds.ticket.title_singular') }}
id]) }}" method="POST" enctype="multipart/form-data"> @csrf @method('PUT')
@if($errors->has('title')) {{ $errors->first('title') }} @endif

{{ trans('cruds.ticket.fields.title_helper') }}

@if($errors->has('content')) {{ $errors->first('content') }} @endif

{{ trans('cruds.ticket.fields.content_helper') }}

@if($errors->has('attachments')) {{ $errors->first('attachments') }} @endif

{{ trans('cruds.ticket.fields.attachments_helper') }}

@if($errors->has('status_id')) {{ $errors->first('status_id') }} @endif
@if($errors->has('priority_id')) {{ $errors->first('priority_id') }} @endif
@if($errors->has('category_id')) {{ $errors->first('category_id') }} @endif
@if($errors->has('author_name')) {{ $errors->first('author_name') }} @endif

{{ trans('cruds.ticket.fields.author_name_helper') }}

@if($errors->has('author_email')) {{ $errors->first('author_email') }} @endif

{{ trans('cruds.ticket.fields.author_email_helper') }}

@if(auth()->user()->isAdmin())
@if($errors->has('assigned_to_user_id')) {{ $errors->first('assigned_to_user_id') }} @endif
@endif
@endsection @section('scripts') @stop