@extends('a1.layout', ['cur' => '']) @section('content') @php use App\Support\Rub; $editing = $ad->exists; $action = $editing ? route('a1.ad.update', $ad) : route('a1.ad.store', ['rubrique' => $r['slug']]); $cat = old('category_id', $ad->category_id); @endphp