@inject('request', 'Illuminate\Http\Request') @extends('layouts.app') @section('content')

@lang('global.faq-questions.title')

@can('faq_question_create')

@lang('global.app_add_new')

@endcan
@lang('global.app_list')
@can('faq_question_delete') @endcan @if (count($faq_questions) > 0) @foreach ($faq_questions as $faq_question) @can('faq_question_delete') @endcan @endforeach @else @endif
@lang('global.faq-questions.fields.category') @lang('global.faq-questions.fields.question-text') @lang('global.faq-questions.fields.answer-text')  
{{ $faq_question->category->title or '' }} {!! $faq_question->question_text !!} {!! $faq_question->answer_text !!} @can('faq_question_view') @lang('global.app_view') @endcan @can('faq_question_edit') @lang('global.app_edit') @endcan @can('faq_question_delete') {!! Form::open(array( 'style' => 'display: inline-block;', 'method' => 'DELETE', 'onsubmit' => "return confirm('".trans("global.app_are_you_sure")."');", 'route' => ['admin.faq_questions.destroy', $faq_question->id])) !!} {!! Form::submit(trans('global.app_delete'), array('class' => 'btn btn-xs btn-danger')) !!} {!! Form::close() !!} @endcan
@lang('global.app_no_entries_in_table')
@stop @section('javascript') @endsection