show error messages for user feedback creation

This commit is contained in:
albert
2013-02-23 11:21:48 -05:00
parent ec8c0e8f19
commit 17bf33672c

View File

@@ -5,6 +5,8 @@
<div id="preview">
</div>
<%= error_messages_for "user_feedback" %>
<%= simple_form_for(@user_feedback) do |f| %>
<%= f.input :user_name, :label => "User" %>
<%= f.input :category, :collection => ["positive", "neutral", "negative"], :include_blank => false %>