<?php
\defined('_JEXEC') or die;

use Joomla\CMS\HTML\HTMLHelper;
use Joomla\CMS\Router\Route;

HTMLHelper::_('behavior.formvalidator');
HTMLHelper::_('behavior.keepalive');

$form = $this->form;
?>
<form action="<?php echo Route::_('index.php?option=com_agenda_pimpinan&layout=edit&id=' . (int) ($form->getValue('id') ?? 0)); ?>"
      method="post"
      name="adminForm"
      id="adminForm"
      class="form-validate">

  <div class="row">
    <div class="col-12">
      <?php echo $form->renderFieldset('basic'); ?>
    </div>
  </div>

  <input type="hidden" name="task" value="">
  <?php echo HTMLHelper::_('form.token'); ?>
</form>
