X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/3af16f6337b52546297e7e09a1aba9b0e1df7e15..657ed03d8b2e262bc965cc38e8af190624c3295b:/app/views/messages/new.html.erb
diff --git a/app/views/messages/new.html.erb b/app/views/messages/new.html.erb
index dedace3d7..2429feb52 100644
--- a/app/views/messages/new.html.erb
+++ b/app/views/messages/new.html.erb
@@ -1,5 +1,5 @@
<% content_for :heading do %>
-
<%= raw(t ".send_message_to", :name => link_to(h(@message.recipient.display_name), user_path(@message.recipient))) %>
+ <%= raw(t(".send_message_to", :name => link_to(h(@message.recipient.display_name), user_path(@message.recipient)))) %>
<% end %>
<%= error_messages_for "message" %>
@@ -16,7 +16,7 @@
<%= richtext_area :message, :body, :cols => 80, :rows => 20 %>
- <%= submit_tag t(".send_button") %>
+ <%= f.submit %>
<%= link_to t(".back_to_inbox"), inbox_messages_path, :class => "deemphasize button" %>