Description:
update syntax of form_for to rails 3.2.8
(grafted from 17d48b004affe1e1dd4a981d9beef9d61ce83078)
Commit status:
[Not Reviewed]
References:
Diff options:
Comments:
0 Commit comments
0 Inline Comments
Unresolved TODOs:
There are no unresolved TODOs
r344:32806d01febd - - 1 file changed: 1 inserted, 1 deleted
@@ -6,7 +6,7 | |||||
|
6 | .body= simple_format(@message.body) |
|
6 | .body= simple_format(@message.body) |
|
7 |
|
7 | ||
|
8 | %h3 Your reply: |
|
8 | %h3 Your reply: |
|
9 |
- = form_for 'r_message' |
|
9 | + = form_for 'r_message', :url => { :action => 'reply'} do |f| |
|
10 | = f.text_area :body, :rows => 5, :cols => 100 |
|
10 | = f.text_area :body, :rows => 5, :cols => 100 |
|
11 | = f.hidden_field :receiver_id, {:value => @message.sender_id } |
|
11 | = f.hidden_field :receiver_id, {:value => @message.sender_id } |
|
12 | = f.hidden_field :replying_message_id, {:value => @message.id } |
|
12 | = f.hidden_field :replying_message_id, {:value => @message.id } |
You need to be logged in to leave comments.
Login now