|
Revision 308, 0.6 kB
(checked in by aarkerio, 9 months ago)
|
|
Small Update
|
| Line | |
|---|
| 1 | <?php |
|---|
| 2 | echo $html->addCrumb('Control Tools', '/admin/entries/start'); |
|---|
| 3 | echo $html->addCrumb('Quote', '/admin/quotes/listing'); |
|---|
| 4 | echo $html->getCrumbs(' / '); |
|---|
| 5 | |
|---|
| 6 | echo $form->create('Quote'); |
|---|
| 7 | echo $form->hidden('Quote.id'); |
|---|
| 8 | ?> |
|---|
| 9 | <fieldset> |
|---|
| 10 | <legend>Edit quote</legend> |
|---|
| 11 | <?php |
|---|
| 12 | echo $form->input('Quote.quote', array("size" => 60, "maxlength" => 150)); |
|---|
| 13 | echo $form->error('Quote.quote', 'Title is required.'); |
|---|
| 14 | |
|---|
| 15 | echo $form->input('Quote.author', array("size" => 25, "maxlength" => 70)); |
|---|
| 16 | echo $form->error('Quote.author', 'Author is required.'); |
|---|
| 17 | |
|---|
| 18 | echo '</fieldset>'; |
|---|
| 19 | echo $form->end('Save'); |
|---|
| 20 | ?> |
|---|