X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/0e78061cdba5cfb3f299f57b7643d2b396ee235b..ae5b7812ccfda66c59cb3ff57ce3b2c3e718f14b:/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 2899c2ff7..fb1bc48e7 100644
--- a/app/views/messages/new.html.erb
+++ b/app/views/messages/new.html.erb
@@ -1,12 +1,12 @@
<% 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 %>
<%= f.primary %>
- <%= link_to t(".back_to_inbox"), inbox_messages_path, :class => "btn btn-link" %>
+ <%= link_to t(".back_to_inbox"), messages_inbox_path, :class => "btn btn-link" %>
<% end %>