@extends('admin.layouts.master') @section('title','Edit QuestionAnswer') @section('maincontent') @include('admin.layouts.topbar',$data)
# | {{ __('Question') }} | {{ __('Answer') }} | {{ __('Status') }} | {{ __('Action') }} | @foreach($answers as $ans)
---|---|---|---|---|
1 | {{strip_tags($ans->question['question'])}} | {{strip_tags($ans->answer)}} | @if($ans->status==1) {{ __('Active') }} @else {{ __('Deactivate') }} @endif |
@can('answer.edit')
{{__('Edit')}}
@endcan
@can('answer.delete')
{{ __("Delete") }}
@endcan
|