@extends('layouts.app') @php($editing = $vendor->exists) @section('title', $editing ? 'Edit '.$vendor->name : 'New vendor') @section('content')