#154 √ resolved
Alexander Mankuta

form and form_for produce wrong html if used from PartController

Reported by Alexander Mankuta | August 28th, 2008 @ 09:45 PM | in 0.9.7

When used in part view form and form_for helpers produce wrong output.

For example, this code:


<%= form :action => url(:controller => 'home', :action => 'index') do %>
  <%= text_area :name => 'message' %>
  <%= submit 'Sumbit' %>
<% end =%>

Produces:


  <textarea name="message"></textarea>
  <input type="submit" value="Sumbit" name="submit"/>
<form method="post" action="/home/index"></form>

Comments and changes to this ticket

Please Login or create a free account to add a new comment.

You can update this ticket by sending an email to from your email client. (help)

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

Shared Ticket Bins

Attachments