Correct error messages for PMs

This commit is contained in:
Luke Barratt 2014-04-30 00:50:27 +01:00
parent 3e757e2d76
commit 338d788b5a

View file

@ -2,7 +2,8 @@
<h1>New Message</h1>
<%= form_for(@message, html: { class: 'square' }) do |f| %>
<%= f.error_messages %>
<%= render 'shared/errors', messages: @message.errors.full_messages %>
<%= f.hidden_field :recipient_id %>
<%= f.hidden_field :recipient_type %>