@extends('admin.layouts.master') @section('content')
{{ trans('app.detail') }} | {{ trans('app.topic') }} | {{ trans('app.updated_at') }} | |
---|---|---|---|
@can('update', $faq)
{!! $faq->question !!}
@else
{!! $faq->question !!}
@endcan
{!! $faq->answer !!} |
{{ $faq->topic->name }}
{{ strtoupper($faq->topic->for) }} |
{{ $faq->updated_at->toFormattedDateString() }} | @can('update', $faq) @endcan @can('delete', $faq) {!! Form::open(['route' => ['admin.utility.faq.destroy', $faq->id], 'method' => 'delete', 'class' => 'data-form']) !!} {!! Form::button('', ['type' => 'submit', 'class' => 'confirm ajax-silent', 'title' => trans('app.trash'), 'data-toggle' => 'tooltip', 'data-placement' => 'top']) !!} {!! Form::close() !!} @endcan |