1 <% content_for :heading do %>
2 <h2><%= raw(t'message.new.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' }, :url => { :action => "new", :display_name => @message.recipient.display_name } do |f| %>
10 <label class="standard-label"><%= t'message.new.subject' %></label>
11 <%= f.text_field :title, :size => 60, :class => "richtext_title" %>
13 <div class='form-row'>
14 <label class="standard-label"><%= t'message.new.body' %></label>
15 <%= richtext_area :message, :body, :cols => 80, :rows => 20 %>
18 <%= submit_tag t('message.new.send_button') %>
19 <%= link_to t('message.new.back_to_inbox'), { :controller => 'message', :action => 'inbox', :display_name => current_user.display_name }, :class => 'deemphasize button' %>