-<% form_for :message, :url => { :action => "new", :user_id => @to_user.id } do |f| %>
- <table>
- <tr valign="top">
- <th><%= t'message.new.subject' %></th>
- <td><%= f.text_field :title, :size => 60, :value => @title %></td>
- </tr>
- <tr valign="top">
- <th><%= t'message.new.body' %></th>
- <td><%= f.text_area :body, :cols => 80, :value => @body %></td>
- </tr>
- <tr>
- <th></th>
- <td><%= submit_tag t('message.new.send_button') %></td>
- </tr>
- </table>
+<%= form_for :message, :html => { :class => 'standard-form' }, :url => { :action => "new", :display_name => @this_user.display_name } do |f| %>
+ <fieldset>
+ <div class='form-row'>
+ <label class="standard-label"><%= t'message.new.subject' %></label>
+ <%= f.text_field :title, :size => 60, :value => @subject %>
+ </div>
+ <div class='form-row'>
+ <label class="standard-label"><%= t'message.new.body' %></label>
+ <%= richtext_area :message, :body, :cols => 80, :rows => 20, :value => @body %>
+ </div>
+ <div class='buttons'>
+ <%= submit_tag t('message.new.send_button') %>
+ <%= link_to t('message.new.back'), { :controller => 'message', :action => 'inbox', :display_name => @user.display_name }, :class => 'deemphasize button' %>
+ </div>
+ </fieldset>