I must be going mad. My code:
<%=h user.phone %>
<%=h user.company %>
<% @message = Message.new %> #UGLY, someone has a solution?
<% form_for([@project, @message]) do |f| %>
<%= f.hidden_field(‘recipient_id’, :value => user.id ) %>
<%= f.text_area(‘text’, :size =>“10x4”) %>
<%= submit_tag(‘Verstuur’) %>
<% end %>
So the form is enclosed in a hidden p tag. This works like a charm in
Opera, however in FF the form does show! ‘show source’ shows the
correct HTML but Firebug shows that the p tag closes before the
form. Really really weird.
Does this sound familiar to someone?
With kind regards,
PS @message can be empty as it is really simple, now fixed with an
ugly hack. Any suggestions?