Hi guys,

I want to display my input buttons (submit & reset) at the top of the form
on the right side.
For example like magento
(http://www.ecommerceoptimization.com/wp-content/uploads/2007/07/customer_edit.PNG)..
So the html solution is working.
<div style="float: right";>
<?= $this->form->submit; ?>
</div>
<?= $this->form; ?>

I have a huge usage of Zend Form in my application, so I want to automate
this process with Zend Form. My first idea was a new Decorator for the
submit and reset button.. But I don't know how to create such a helper, how
to implement the div inside the form and so on. The result should be
something like:
<div class="my-form">
        <form action="">
                <div class="my-form-actionbuttons">
                        <!-- All Buttons like save, reset, save and back ... ! 
-->
                        <input type="reset"> <input type="submit">
                </div>
                <div>
                        <!-- Normal Zend_Form output ! -->
                        <dl>
                                <dt>...</dt>
                                <dd>...</dd>
                        </dl>
                </div>
        </form>
</div>
with the call of the render function.

Best Regards
Dino




-- 
View this message in context: 
http://www.nabble.com/Zend_Form---Decorator-Help-tp16588179p16588179.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to