{{-- Product creator (design: Screens · Dashboard / Product creator). --}} @extends('layouts.app') @section('title', ($product->exists ? $product->name : 'Add product').' — InLynq') @section('heading', 'Products') @section('content')
@csrf @if($product->exists) @method('PUT') @endif Cancel
@foreach ($categories as $c) @if ($product->exists) @include('dashboard.partials.metric-rows', ['metrics' => $product->metrics, 'addUrl' => route('metrics.create', ['product' => $product->id])]) @else

Save the product first, then add users, revenue or any other metric.

@endif
Cancel
@if ($product->exists)
@csrf @method('DELETE')
@endif @endsection