1 <% content_for :heading do %>
2 <h2><%= raw(t '.send_message_to', :name => link_to(h(@message.recipient.display_name), user_path(@message.recipient))) %></h2>
5 <%= error_messages_for 'message' %>
7 <%= form_for @message, :html => { :class => 'standard-form' } do |f| %>
8 <%= hidden_field_tag :display_name, @message.recipient.display_name %>
10 <div class='form-row'>
11 <label class="standard-label" for="message_title"><%= t '.subject' %></label>
12 <%= f.text_field :title, :size => 60, :class => "richtext_title" %>
14 <div class='form-row'>
15 <label class="standard-label" for="message_body"><%= t '.body' %></label>
16 <%= richtext_area :message, :body, :cols => 80, :rows => 20 %>
19 <%= submit_tag t('.send_button') %>
20 <%= link_to t('.back_to_inbox'), inbox_messages_path, :class => 'deemphasize button' %>