/views/tests/add.ctp

http://openbook2-0.googlecode.com/ · Unknown · 19 lines · 18 code · 1 blank · 0 comment · 0 complexity · 7e2b5e6265fe93336bf31e300b9b14ba MD5 · raw file

  1. <div class="tests form">
  2. <?php echo $this->Form->create('Test');?>
  3. <fieldset>
  4. <legend><?php __('Add Test'); ?></legend>
  5. <?php
  6. echo $this->Form->input('name');
  7. echo $this->Form->input('email');
  8. echo $this->Form->input('description');
  9. ?>
  10. </fieldset>
  11. <?php echo $this->Form->end(__('Submit', true));?>
  12. </div>
  13. <div class="actions">
  14. <h3><?php __('Actions'); ?></h3>
  15. <ul>
  16. <li><?php echo $this->Html->link(__('List Tests', true), array('action' => 'index'));?></li>
  17. </ul>
  18. </div>