mirror of
https://github.com/ENSL/ensl.org.git
synced 2025-01-18 07:22:19 +00:00
Correct error messages for PMs
This commit is contained in:
parent
3e757e2d76
commit
338d788b5a
1 changed files with 2 additions and 1 deletions
|
@ -2,7 +2,8 @@
|
||||||
<h1>New Message</h1>
|
<h1>New Message</h1>
|
||||||
|
|
||||||
<%= form_for(@message, html: { class: 'square' }) do |f| %>
|
<%= 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_id %>
|
||||||
<%= f.hidden_field :recipient_type %>
|
<%= f.hidden_field :recipient_type %>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue