<?php

namespace JetStudioModule\Forms;

use Jet\MVC_View;
use Jet\UI;

/**
 * @var MVC_View $this
 */

$form = Main::getCurrentProperty()->getDefinitionForm();
if(!$form) {
	return;
}

echo UI::button_save()
	->setOnClick( "$('#" . $form->getId() . "').submit()" );

