@extends('admin.layouts.app') @php $mode = "Add"; $action = route('faq.add'); if(!empty($id)){ $mode = "Edit"; $action = route('faq.edit',$id); } @endphp @section('content')