Hey everyone,

I'm trying to get the hang of CakePHP, I really like the way this
framework is built, but I'm having a lot of trouble getting my code
right with the form helper class.

I find it very hard to get the HTML I want from an input without
inserting a lot of my html into --before--, --after-- and --between--,
which makes my code hard to read and maintain. For instance, I'm
trying to get html that looks like this with the form helper class:

<label class="nopadding">Gender</label>
<span class="radio"><input type="radio" name="gender" value="male" />
Male</span>
<span class="radio"><input type="radio" name="gender" value="female" /
> Female</span>

I tried searching and reading the documentation but I didn't find a
way around it without using  --before--, --after--, --between--, and --
separator--.

Is there a cleaner way to get what I want or that I have to go the
ugly way to get what I want?

Thanks in advance, ;-)

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to