X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/3666b674330ec8d14a224932a191d6121c5974e2..a8b4325be93fb9ce8196786bbe74e42c63a5ea1c:/app/views/messages/new.html.erb diff --git a/app/views/messages/new.html.erb b/app/views/messages/new.html.erb index 0918a23f0..2899c2ff7 100644 --- a/app/views/messages/new.html.erb +++ b/app/views/messages/new.html.erb @@ -2,22 +2,11 @@

<%= 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, :size => 60, :class => "richtext_title" %> -
-
- - <%= richtext_area :message, :body, :cols => 80, :rows => 20 %> -
-
- <%= f.submit %> - <%= link_to t(".back_to_inbox"), inbox_messages_path, :class => "deemphasize button" %> -
-
+ <%= 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 %>