X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/82bb9d02f3c814d2b4b5b8e0599dccf78017231d..821ebdd57b7e39e328fc95eedbb63ffc02c81983:/app/views/messages/new.html.erb diff --git a/app/views/messages/new.html.erb b/app/views/messages/new.html.erb index 2899c2ff7..2838a5dab 100644 --- a/app/views/messages/new.html.erb +++ b/app/views/messages/new.html.erb @@ -1,9 +1,9 @@ <% content_for :heading do %> -

<%= t(".send_message_to_html", :name => link_to(@message.recipient.display_name, user_path(@message.recipient))) %>

+

<%= t(".send_message_to_html", :name => link_to(@message.recipient.display_name, @message.recipient)) %>

<% end %> <%= bootstrap_form_for @message do |f| %> - <%= hidden_field_tag :display_name, @message.recipient.display_name %> + <%= hidden_field_tag :display_name, @message.recipient.display_name, :autocomplete => "off" %> <%= f.text_field :title %> <%= f.richtext_field :body, :cols => 80, :rows => 20 %>