Show
Ignore:
Timestamp:
09/25/07 22:18:30 (15 months ago)
Author:
aarkerio
Message:

New blog layout

Location:
trunk/app/views/questions
Files:
1 added
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/app/views/questions/admin_add.thtml

    r158 r159  
    33<?php echo $html->getCrumbs(' / '); ?> 
    44 
    5 <?php echo $html->formTag('/admin/tests/add/','post', array("onsubmit"=>"return validateNew()")); ?> 
     5<?php echo $html->formTag('/admin/questions/edit','post', array("onsubmit"=>"return validateNew()")); ?> 
    66<fieldset> 
    77<legend>New test</legend> 
    88<div class="required"> 
    9   <?php echo $form->labelTag( 'Test/title', 'Title' ); ?> 
    10   <?php echo $html->input('Test/title', array("size" => 40, "maxlength" => 120)); ?> 
    11   <?php echo $html->tagErrorMsg('Test/title', 'Title is required.'); ?> 
     9  <?php echo $form->labelTag('Question/title', 'Title' ); ?> 
     10  <?php echo $html->input('Question/title', array("size" => 40, "maxlength" => 120)); ?> 
     11  <?php echo $html->tagErrorMsg('Question/title', 'Title is required.'); ?> 
    1212</div> 
    1313 
    1414<div class="required"> 
    1515<?php  
    16    echo $form->labelTag('Test/description', 'Description:' );  
    17    echo $html->textarea('Test/description', array("cols" => 50, "rows" => 5));  
    18    echo $html->tagErrorMsg('Test/description', 'Description is required.'); 
     16   echo $form->labelTag('Question/description', 'Description:' );  
     17   echo $html->textarea('Question/description', array("cols" => 50, "rows" => 5));  
     18   echo $html->tagErrorMsg('Question/description', 'Description is required.'); 
    1919?> 
    2020</div> 
     
    2222<div class="required"> 
    2323<?php  
    24               echo $form->labelTag( 'Test/status', 'Published:' ); 
    25               echo $html->checkbox('Test/status', null, array("value"=>1));  
     24          echo $form->labelTag( 'Question/status', 'Published:' ); 
     25          echo $html->checkbox('Question/status', null, array("value"=>1));  
    2626?> 
    2727</div>