X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/ba9a00b10cc8a075a5a4090a1601e3d3b72b2ec1..a1b179fa384d689e6cb78c2b8d863621e7bff152:/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 %>