X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/d3700e6201b4b78a70bbb2941572edc985b63c2c..6d0100b91dda3e36d3eeeab0e3a4894e1dae9fd2:/app/views/messages/new.html.erb?ds=sidebyside diff --git a/app/views/messages/new.html.erb b/app/views/messages/new.html.erb index e33bc176d..2c008732c 100644 --- a/app/views/messages/new.html.erb +++ b/app/views/messages/new.html.erb @@ -4,7 +4,8 @@ <%= error_messages_for 'message' %> -<%= form_for :message, :html => { :class => 'standard-form' }, :url => new_message_path(@message.recipient) do |f| %> +<%= form_for @message, :html => { :class => 'standard-form' } do |f| %> + <%= hidden_field_tag :display_name, @message.recipient.display_name %>