<?php $title='Edit Product'; ob_start(); ?>
<h3><?= __('products.edit_product', 'Edit Product') ?></h3>
<form method="POST" action="/samanta_crm/products/<?= $product['id'] ?>/update">
  <?php include __DIR__.'/form_fields.php'; ?>
  <button class="btn btn-primary"><?= __('common.update', 'Update') ?></button>
  <a href="/samanta_crm/products" class="btn btn-secondary"><?= __('common.cancel', 'Cancel') ?></a>
</form>
<?php $content=ob_get_clean(); include '../app/Views/layout.php'; ?>
