%= form_for(@question) do |f| %>
<% if @question.errors.any? %>
<%= pluralize(@question.errors.count, "error") %> prohibited this question from being saved:
<% @question.errors.full_messages.each do |msg| %>
- <%= msg %>
<% end %>
<% end %>
<%= f.label :title %>
<%= f.text_area :title %>
<%= f.submit %>
<% end %>