<?php $title=__('categories.add_category', 'Add Category'); ob_start(); ?>
<h3><?= __('categories.add_category', 'Add Category') ?></h3>
<form method="POST" action="/samanta_crm/categories">
  <div class="mb-2"><label class="form-label"><?= __('common.name', 'Name') ?> *</label><input name="name" class="form-control form-control-sm" required></div>
  <div class="mb-2"><label class="form-label"><?= __('common.description', 'Description') ?></label><textarea name="description" class="form-control form-control-sm" rows="2"></textarea></div>
  <div class="mb-2"><label class="form-label"><?= __('common.sort_order', 'Sort Order') ?></label><input name="sort_order" value="0" class="form-control form-control-sm"></div>
  <button class="btn btn-primary"><?= __('common.save', 'Save') ?></button> <a href="/samanta_crm/categories" class="btn btn-secondary"><?= __('common.cancel', 'Cancel') ?></a>
</form>
<?php $content=ob_get_clean(); include '../app/Views/layout.php'; ?>
