<%= error_messages_for 'message' %>
-<%= form_for :message, :html => { :class => 'standard-form' }, :url => { :action => "new", :display_name => @message.recipient.display_name } do |f| %>
+<%= form_for :message, :html => { :class => 'standard-form' }, :url => new_message_path(@message.recipient) do |f| %>
<fieldset>
<div class='form-row'>
<label class="standard-label" for="message_title"><%= t '.subject' %></label>
</div>
<div class='buttons'>
<%= submit_tag t('.send_button') %>
- <%= link_to t('.back_to_inbox'), { :controller => 'message', :action => 'inbox', :display_name => current_user.display_name }, :class => 'deemphasize button' %>
+ <%= link_to t('.back_to_inbox'), inbox_path(current_user), :class => 'deemphasize button' %>
</div>
</fieldset>
<% end %>