On 6/19/07, Peter Michaux
<petermichaux-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:>
>
> Hi,
>
> In a form_for :comment block, Rails turns
>
> <%= f.text_field :name %>
>
> into
>
> <input id="comment_name" name="comment[name]"
size="30" type="text" />
>
> How can I get Rails not to add the closing slash so that it is plain
> HTML and not XHTML?
>
> Thanks,
> Peter
Isn''t that valid HTML as well? Why would you want to do this?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---