[Nitro] FormHelper::FormXmlBuilder#attribute without label

George Moschovitis george.moschovitis at gmail.com
Tue Jan 9 16:42:56 EST 2007


how about f.input .... ?

-g.

On 1/9/07, Malte Milatz <malte at gmx-topmail.de> wrote:
>
> I'm trying to understand FormHelper. What should I write where I have
> some_method_call? I do not need a label there because I want a proper
> <dl> structure, so #attribute is of no use to me. I need a plain <input>
> field instead.
>
> form(:object => Item, :action => 'go', :method => 'multipart') do |f|
>   f.form_errors # By the way, is this the right place for it?
>   f.dl {
>     f.dt { f.label "What's your name?", :for => 'poster_name' }
>     f.dd { f.some_method_call :poster_name }
>   }
> end
>
>
> Thanks,
>
> Malte
>
> _______________________________________________
> Nitro-general mailing list
> Nitro-general at rubyforge.org
> http://rubyforge.org/mailman/listinfo/nitro-general
>



-- 
http://blog.gmosx.com
http://cull.gr
http://www.joy.gr
http://nitroproject.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/nitro-general/attachments/20070109/e239125d/attachment.html 


More information about the Nitro-general mailing list