On 6 July 2010 12:58, Pale Horse <[email protected]> wrote:
> Colin Law wrote:
>> On 6 July 2010 12:20, Pale Horse <[email protected]> wrote:
>>> <p>
>>> <label for="order_products">Products</label>
>>> <% for products in Product.all(:conditions => "display=1") %>
>>>  <%= products.name %>&nbsp;<%= text_field :order, :product_quantity %>
>>> <% end %>
>>> </p>
>>>
>>> Obviously, the about renders a text field for each Product where the
>>> user can enter the quantity the require opposite a Product name label.
>>
>> Is that inside a form_tag?  It should be text_field_tag I think.
>>
>> Colin
>
> The other text_fields I'm using are working fine with this method.

You did not answer whether it is inside a form_for or form_tag.
Please show the complete form code.

Colin

-- 
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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to