1 <% content_for :heading do %>
2 <h2><%= raw(t'message.new.send_message_to', :name => link_to(h(@this_user.display_name), {:controller => 'user', :action => 'view', :display_name => @this_user.display_name})) %></h2>
5 <%= error_messages_for 'message' %>
7 <%= form_for :message, :html => { :class => 'standard-form' }, :url => { :action => "new", :display_name => @this_user.display_name } do |f| %>
8 <fieldset class="form-row">
9 <label class="standard-label"><%= t'message.new.subject' %></label>
10 <%= f.text_field :title, :size => 60, :value => @subject %>
13 <fieldset class="form-row">
14 <label class="standard-label"><%= t'message.new.body' %></label>
15 <%= richtext_area :message, :body, :cols => 80, :value => @body %>
18 <fieldset class="form-row">
19 <%= submit_tag t('message.new.send_button') %>
25 <%= link_to t('message.new.back_to_inbox'), :controller => 'message', :action => 'inbox', :display_name => @user.display_name %>