{!! Session::get('message') !!}
    
    @endif
    @if (count($errors) > 0)
    @if(Session::has('check'))
    
    @endif
    
        
        {!! Lang::get('lang.alert') !!} !
        
        
    
    @endif
    
    {{--  --}}
    
    
    encrypt(csrf_token());
    ?>
    
    {!! Form::open(['action'=>'Client\helpdesk\FormController@postedForm','method'=>'post', 'enctype'=>'multipart/form-data']) !!}
    - 
            @foreach ($errors->all() as $error)
            
- {{ $error }} @endforeach
{!! Lang::get('lang.ticket') !!}
                {!! Form::label('help_topic', Lang::get('lang.choose_a_help_topic')) !!} 
                {!! $errors->first('help_topic', ':message ') !!}
                get();
                ?>                  
                
            
            
                @if(Auth::user())
                    
                        {!! Form::hidden('Name',Auth::user()->user_name,['class' => 'form-control']) !!}
                    
                @else
                    
                        {!! Form::label('Name',Lang::get('lang.name')) !!} *
                        {!! Form::text('Name',null,['class' => 'form-control']) !!}
                    
                @endif
            
            
                @if(Auth::user())
                    
                        {!! Form::hidden('Email',Auth::user()->email,['class' => 'form-control']) !!}
                    
                @else
                    
                        {!! Form::label('Email',Lang::get('lang.email')) !!} *
                        {!! Form::text('Email',null,['class' => 'form-control']) !!}
                    
                @endif
                
            
                @if(!Auth::user())
                    
            
                {!! Form::label('Code',Lang::get('lang.country-code')) !!}
                {!! Form::text('Code',null,['class' => 'form-control', 'placeholder' => $phonecode, 'title' => Lang::get('lang.enter-country-phone-code')]) !!}
            
            
                {!! Form::label('Mobile',Lang::get('lang.mobile_number')) !!}
                {!! Form::text('Mobile',null,['class' => 'form-control']) !!}
            
            
                {!! Form::label('Phone',Lang::get('lang.phone')) !!}
                {!! Form::text('Phone',null,['class' => 'form-control']) !!}
            
              @endif
            
                {!! Form::label('Subject',Lang::get('lang.subject')) !!} *
                {!! Form::text('Subject',null,['class' => 'form-control']) !!}
            
            
                {!! Form::label('Details',Lang::get('lang.message')) !!} *
                {!! Form::textarea('Details',null,['class' => 'form-control']) !!}
            
              {!! Lang::get('lang.attachment') !!}
{!! Lang::get('lang.max') !!}. 10MB
{!! Form::submit(Lang::get('lang.Send'),['class'=>'form-group btn btn-info pull-left'])!!}