Is there a better way of designing zend_forms rather than using decorators?

Posted by Hanseh on Stack Overflow See other posts from Stack Overflow or by Hanseh
Published on 2010-04-12T02:40:25Z Indexed on 2010/04/12 2:43 UTC
Read the original article Hit count: 389

Filed under:
|
|

Hi, I am currently using zend_decorators to add styles to my form. I was wondering if there is an alternative way of doing it? It is a bit difficult to write decorators. I would love the casual one using divs and css style :

<input type="submit" class="colorfulButton" > 

It is much simpler rather than set a decorator for a certain control and add it. Since it requires creating a decorator for each style implementation and adding it up with the control. Will view helpers to the trick?

© Stack Overflow or respective owner

Related posts about php

Related posts about zend