|
Revision 251, 1.0 kB
(checked in by aarkerio, 9 months ago)
|
|
Update karamelo to 1.2 cake version
|
| Line | |
|---|
| 1 | <?php echo $html->addCrumb('Control Tools', '/admin/entries/start'); ?> |
|---|
| 2 | <?php echo $html->addCrumb('Gallerys', '/admin/galleries/listing'); ?> |
|---|
| 3 | <?php echo $html->getCrumbs(' / '); ?> |
|---|
| 4 | |
|---|
| 5 | <?php echo $html->formTag('/admin/galleries/add','post'); ?> |
|---|
| 6 | |
|---|
| 7 | <?php echo $html->hidden('Gallery/order', null, array("value"=>1)); ?> |
|---|
| 8 | |
|---|
| 9 | <fieldset> |
|---|
| 10 | <legend>Add Gallery</legend> |
|---|
| 11 | <?php |
|---|
| 12 | echo $form->labelTag( 'Gallery/title', 'Title:' ); |
|---|
| 13 | echo $html->input('Gallery/title', array("size" => 25, "maxlength" => 70)); |
|---|
| 14 | echo $html->tagErrorMsg('Gallery/title', 'title is required.'); |
|---|
| 15 | echo '<br />'; |
|---|
| 16 | |
|---|
| 17 | echo $form->labelTag( 'Gallery/description', 'Name:' ); |
|---|
| 18 | echo $html->input('Gallery/description', array("size" => 60, "maxlength" => 150)); |
|---|
| 19 | echo $html->tagErrorMsg('Gallery/name', 'Name is required.'); |
|---|
| 20 | |
|---|
| 21 | echo $form->labelTag( 'Gallery/status', 'Status:' ); |
|---|
| 22 | echo $html->checkbox('Gallery/status', null, array("value" => 1)); |
|---|
| 23 | |
|---|
| 24 | echo '<div style="clear:both"></div>'; |
|---|
| 25 | |
|---|
| 26 | echo $html->submit('Send'); |
|---|
| 27 | ?> |
|---|
| 28 | </fieldset> |
|---|
| 29 | </form> |
|---|