X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/0c79686f3cef86330d0ab6bbef2a9e2275ac93ac..28af501924c6cc30560f463fe818bb098a18b9cc:/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 532f3d71e..2899c2ff7 100644
--- a/app/views/messages/new.html.erb
+++ b/app/views/messages/new.html.erb
@@ -1,23 +1,12 @@
<% content_for :heading do %>
-
<%= raw(t(".send_message_to", :name => link_to(h(@message.recipient.display_name), user_path(@message.recipient)))) %>
+ <%= t(".send_message_to_html", :name => link_to(@message.recipient.display_name, user_path(@message.recipient))) %>
<% end %>
-<%= error_messages_for "message" %>
-
-<%= form_for @message, :html => { :class => "standard-form" } do |f| %>
+<%= bootstrap_form_for @message do |f| %>
<%= hidden_field_tag :display_name, @message.recipient.display_name %>
-
+ <%= 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" %>
<% end %>