On Tue, Apr 14, 2009 at 8:35 PM, Matthew Weier O'Phinney <[email protected]>wrote:
> -- Philip G <[email protected]> wrote > (on Tuesday, 14 April 2009, 05:25 PM -0500): > > Simple question, I can't for the life of me figure out how you would > decorate > > checkbox elements. There seems to be options to do all sorts of things, > but > > individual checkbox elements? > > > > I need to setup a form label within a <p> tag and then each element > within a > > <span> tag surrounded by a full <div>. I figured out the <p> and <div>. > But > > each checkbox/label around surrounded by <span>? (or even div if I must). > > Your best bet here is to create your own MultiCheckbox view helper, and > have it implement the markup you want to use. Then simply make sure the > view helper path includes the path to this helper, and you should be > set. > I suppose this is the same route I'll need to take to add a nice little ol' space after the checkboxes against their labels? Being crunched up like that doesn't look too pleasing. Philip
