<?php

namespace JetStudioModule\Pages;

$form = Page::getCreateForm();

$form->getField( 'name' )->input()->addJsAction( 'onkeyup', 'Pages.createPage.generateId(this.value);' );

echo $form->start();
echo $form->getCommonMessage();
echo $form->field( 'name' );
echo $form->field( 'id' );

echo $form->end();
