<?php $title='Add Production Site'; ob_start(); ?>
<h3>Add Production Site</h3>
<form method="POST" action="/samanta_crm/production-sites">
  <div class="mb-2"><label class="form-label">Code *</label><input name="code" class="form-control form-control-sm" required></div>
  <div class="mb-2"><label class="form-label">Name *</label><input name="name" class="form-control form-control-sm" required></div>
  <div class="mb-2"><label class="form-label">Description</label><textarea name="description" class="form-control form-control-sm" rows="2"></textarea></div>
  <div class="mb-2"><label class="form-label">Sort Order</label><input name="sort_order" value="0" class="form-control form-control-sm"></div>
  <div class="form-check mb-2"><input type="checkbox" class="form-check-input" id="ps_active" name="is_active" checked><label for="ps_active" class="form-check-label"><?= __("common.active", "Active") ?></label></div>
  <button class="btn btn-primary"><?= __("common.save", "Save") ?></button> <a class="btn btn-secondary" href="/samanta_crm/production-sites"><?= __("common.cancel", "Cancel") ?></a>
</form>
<?php $content=ob_get_clean(); include '../app/Views/layout.php'; ?>
