@extends('layouts.app') @section('content')

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

@lang('global.app_view')
@lang('global.faq-categories.fields.title') {{ $faq_category->title }}
@if (count($faq_questions) > 0) @foreach ($faq_questions as $faq_question) @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('view') @lang('global.app_view') @endcan @can('edit') @lang('global.app_edit') @endcan @can('delete') {!! Form::open(array( 'style' => 'display: inline-block;', 'method' => 'DELETE', 'onsubmit' => "return confirm('".trans("global.app_are_you_sure")."');", 'route' => ['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')

 

@lang('global.app_back_to_list')
@stop