<%= form_for(@question) do |f| %> <% if @question.errors.any? %>

<%= pluralize(@question.errors.count, "error") %> prohibited this question from being saved:

<% end %>
<%= f.label :title %>
<%= f.text_area :title %>
<%= f.submit %>
<% end %>