X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/083500f056f5b995f1979f88b37793046d9e4d37..24b138db094e4b5e8d062c5248ee867967dc0fd7:/app/views/messages/new.html.erb diff --git a/app/views/messages/new.html.erb b/app/views/messages/new.html.erb index 2c008732c..532f3d71e 100644 --- a/app/views/messages/new.html.erb +++ b/app/views/messages/new.html.erb @@ -1,23 +1,23 @@ <% 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' %> +<%= error_messages_for "message" %> -<%= form_for @message, :html => { :class => 'standard-form' } do |f| %> +<%= form_for @message, :html => { :class => "standard-form" } 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 %>
- <%= submit_tag t('.send_button') %> - <%= link_to t('.back_to_inbox'), inbox_messages_path, :class => 'deemphasize button' %> + <%= submit_tag t(".send_button") %> + <%= link_to t(".back_to_inbox"), inbox_messages_path, :class => "deemphasize button" %>
<% end %>