| 1 | <h2>New College</h2> |
|---|
| 2 | <form action="<?php echo $html->url('/admin/colleges/add'); ?>" method="post"> |
|---|
| 3 | <div class="required"> |
|---|
| 4 | <?php echo $form->labelTag('College/urlbase', 'Urlbase');?> |
|---|
| 5 | <?php echo $html->input('College/urlbase', array('size' => '60'));?> |
|---|
| 6 | <?php echo $html->tagErrorMsg('College/urlbase', 'Please enter the Urlbase.');?> |
|---|
| 7 | </div> |
|---|
| 8 | <div class="required"> |
|---|
| 9 | <?php echo $form->labelTag('College/name', 'Name');?> |
|---|
| 10 | <?php echo $html->input('College/name', array('size' => '60'));?> |
|---|
| 11 | <?php echo $html->tagErrorMsg('College/name', 'Please enter the Name.');?> |
|---|
| 12 | </div> |
|---|
| 13 | <div class="required"> |
|---|
| 14 | <?php echo $form->labelTag( 'College/description', 'Description' );?> |
|---|
| 15 | <?php echo $html->textarea('College/description', array('cols' => '60', 'rows' => '10'));?> |
|---|
| 16 | <?php echo $html->tagErrorMsg('College/description', 'Please enter the Description.');?> |
|---|
| 17 | </div> |
|---|
| 18 | <div class="optional"> |
|---|
| 19 | <?php echo $form->labelTag('College/email', 'Email');?> |
|---|
| 20 | <?php echo $html->input('College/email', array('size' => '60'));?> |
|---|
| 21 | <?php echo $html->tagErrorMsg('College/email', 'Please enter the Email.');?> |
|---|
| 22 | </div> |
|---|
| 23 | <div class="required"> |
|---|
| 24 | <?php echo $form->labelTag('College/keywords', 'Keywords');?> |
|---|
| 25 | <?php echo $html->input('College/keywords', array('size' => '60'));?> |
|---|
| 26 | <?php echo $html->tagErrorMsg('College/keywords', 'Please enter the Keywords.');?> |
|---|
| 27 | </div> |
|---|
| 28 | <div class="submit"> |
|---|
| 29 | <?php echo $html->submit('Add');?> |
|---|
| 30 | </div> |
|---|
| 31 | </form> |
|---|
| 32 | <ul class="actions"> |
|---|
| 33 | <li><?php echo $html->link('List Colleges', '/admin/colleges/index')?></li> |
|---|
| 34 | </ul> |
|---|