|
Revision 698, 0.7 kB
(checked in by aarkerio, 4 months ago)
|
|
Validate arrayas
|
| Line | |
|---|
| 1 | <?php |
|---|
| 2 | echo $html->addCrumb('Control Panel', '/admin/entries/start'); |
|---|
| 3 | echo $html->addCrumb('FAQs', '/admin/catfaqs/listing'); |
|---|
| 4 | echo $html->getCrumbs(' / '); |
|---|
| 5 | |
|---|
| 6 | echo $form->create('Catfaq', array('onsubmit'=>'return chkData()')); |
|---|
| 7 | echo $form->hidden('Catfaq.id'); |
|---|
| 8 | ?> |
|---|
| 9 | <fieldset> |
|---|
| 10 | <legend><?php __('Edit item');?> </legend> |
|---|
| 11 | <?php |
|---|
| 12 | echo $form->input('Catfaq.title', array('size'=>30,'maxlength'=> 90, 'label'=>__('Title', true))); |
|---|
| 13 | |
|---|
| 14 | echo $form->label('Catfaq.description', __('Description', true)); |
|---|
| 15 | echo $form->textarea('Catfaq.description', array("cols" => 40, "row" => 20)); |
|---|
| 16 | ?> |
|---|
| 17 | <div style="clear:both"></div> |
|---|
| 18 | <br /> |
|---|
| 19 | <?php echo $form->end(__('Save', true)); ?> |
|---|
| 20 | </fieldset> |
|---|