form->csrf() ?> form->hidden('id', $values) ?> form->hidden('project_id', $values) ?> form->label(t('Category Name'), 'name') ?> form->text('name', $values, $errors, array('autofocus', 'required', 'maxlength="50"')) ?> form->label(t('Description'), 'description') ?> form->textEditor('description', $values, $errors) ?>
url->link(t('cancel'), 'CategoryController', 'index', array('project_id' => $project['id']), false, 'close-popover') ?>