Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $this->plugin('translate')->setTranslatorTextDomain('courses');
- $title = $this->translate('Add new language');
- $this->headTitle($title);
- ?>
- <h1><?php echo $this->escapeHtml($title); ?></h1>
- <?php
- $form = $this->form;
- $form->setAttribute('action', $this->url('sprachen', array('action' => 'add')));
- $form->get('submit')->setValue($this->translate('Add'));
- $form->prepare();
- echo $this->form()->openTag($form);
- echo $this->formHidden($form->get('id'));
- echo $this->formRow($form->get('name'));
- echo $this->formRow($form->get('description'));
- echo $this->formRow($form->get('localeString'));
- echo $this->formRow($form->get('active'));
- echo $this->formRow($form->get('csrf'));
- echo $this->formSubmit($form->get('submit'));
- echo $this->form()->closeTag();
Add Comment
Please, Sign In to add comment