<?php
namespace JetStudioModule\DataModel;

use Jet\UI;

$form = DataModels::getCurrentProperty()->getEditForm();

if( $form->getIsReadonly() ) {
	return;
}
?>

<?= UI::button_save()
	->setOnClick( "$('#" . $form->getId() . "').submit()" )
?>
<?=$this->render('model/edit/toolbar/generate')?>