ZF-2942: decorator that draws the form as table with labels in header row
It would be nice to have a standard decorator that draws the form as a table with the labels in a header row of the table. This is for forms that has several of the same input fields.
For example, say you have the following input fields (each rendering as a text box): user1-name user1-pass user2-name user2-pass user3-name user3-pass etc.
If you have such a form, it may make sense to have the labels displayed in a header row instead of a label for each and every input field. Right now, it seems that it would be easier for me to rewrite my form without Zend_Form to accomplish this than to figure out how to deal with it using Zend_Form, but maybe it's just me who's tiring a little from reading so many docs and APIs for the framework who's not seeing a simple solution yet.. :-)
So instead of:
User 1 - name: User 1 - pass: User 2 - name: User 2 - pass: User 3 - name: User 3 - pass:
User Name Pass 1 2 3
This is only a very simple example of course. If you have, say, 10 input fields (name, password, address...) duplicated for 5 instances (eg. users), it could be a lot more useful to put it in a table like this than to have each field on its own line.