]> git.openstreetmap.org Git - rails.git/blob - app/views/messages/new.html.erb
Merge pull request #3268 from tomhughes/capitalisation
[rails.git] / app / views / messages / new.html.erb
1 <% content_for :heading do %>
2   <h2><%= t(".send_message_to_html", :name => link_to(@message.recipient.display_name, user_path(@message.recipient))) %></h2>
3 <% end %>
4
5 <%= bootstrap_form_for @message do |f| %>
6   <%= hidden_field_tag :display_name, @message.recipient.display_name, :autocomplete => "off" %>
7   <%= f.text_field :title %>
8   <%= f.richtext_field :body, :cols => 80, :rows => 20 %>
9
10   <%= f.primary %>
11   <%= link_to t(".back_to_inbox"), inbox_messages_path, :class => "btn btn-link" %>
12 <% end %>