@extends('layouts.master') @section('title') {{ __('faqs') }} @endsection @section('content')
@if (Auth::user()->can('faqs-create'))

{{ __('create') . ' ' . __('faqs') }}

@csrf
{!! Form::text('title', null, ['required', 'placeholder' => __('title'), 'class' => 'form-control']) !!}
{!! Form::textarea('description', null, ['required','rows' => '2', 'placeholder' => __('description'), 'class' => 'form-control']) !!}
{{-- --}}
@endif @if (Auth::user()->can('faqs-list'))

{{ __('list') . ' ' . __('faqs') }}

@if (Auth::user()->can('faqs-edit') || Auth::user()->can('faqs-delete')) @endif
{{ __('id') }} {{ __('no.') }} {{ __('title') }} {{ __('description') }}{{ __('action') }}
@endif
@endsection