Groups
Groups
Sign in
Groups
Groups
Ruby on Rails Taiwan
Conversations
About
Send feedback
Help
ror 中使用form
3 views
Skip to first unread message
Joseph
unread,
Sep 2, 2008, 9:58:40 PM
9/2/08
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Ruby on Rails Taiwan
要如何在ror中使用form提交參數呢?
我希望達成:
再首頁有一個form可以寫上名字
submit後 會再另一頁顯示出 " Hello 名字"
步需要用到model
我的程式碼:
<html>
<body>
<%= start_form_tag :action=>'say_hello', :id=>@name %>
<%= submit_tag "send" %>
<%= end_form_tag %>
</body>
</html>
Reply all
Reply to author
Forward
0 new messages