X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/9b36021ec5eabeca8db735cf80c5876d2d31338d..c82fdf8e0fd4e5a8f2d831592d5e1fe13e1fe558:/app/views/messages/new.html.erb 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 %>