I want to create text box but in run time

when  I write in the controller for @a="input type ='text' "
and in the view <%...@a%> it display text box in the page when it run

but when  I write in the controller for @a="<%=text_field%>"
and in the view <%...@a%> it doesn't display text box in the page when
it run

how can i solve it

--~--~---------~--~----~------------~-------~--~----~
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