Hi. What is wrong with this code:
Do I have to create the button as a RoR special tag? how?
Enter Your N.:
<%= @message %><%= end_form_tag %>
Hi. What is wrong with this code:
Do I have to create the button as a RoR special tag? how?
Enter Your N.:
<%= @message %><%= end_form_tag %>
On 10/4/06, Jose P. [email protected] wrote:
<%= start_form_tag :controller=>'greet', :action=>'say_hi' %>Enter Your N.:
<%= @message %>
<p>
<%= submit_tag "Save" -%>
<%= end_form_tag %>
The submit_tag helper is what your after
hi
I also found an answer in this post:
http://www.ruby-forum.com/topic/66315#79612
Daniel ----- wrote:
On 10/4/06, Jose P. [email protected] wrote:
<%= start_form_tag :controller=>'greet', :action=>'say_hi' %>Enter Your N.:
<%= @message %>
<p> <%= submit_tag "Save" -%>
<%= end_form_tag %>
The submit_tag helper is what your after
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs