/** * @throws \Cunity\Core\Exception * @throws \Exception */ public function __construct() { parent::__construct(); $this->registerScript("register", "registration"); $this->registerCss("register", "style"); $this->registerCunityPlugin("bootstrap-datepicker", ["css/bootstrap-datepicker.css", "js/bootstrap-datepicker.js"]); $profileFields = new ProfileFields(); $this->assign('profileFields', $profileFields->getRegistrationFields()); $this->assign('success', false); }