%= form_with(model: suggestion) do |form| %>
<% if suggestion.errors.any? %>
<%= pluralize(suggestion.errors.count, "error") %> prohibited this suggestion from being saved:
<% suggestion.errors.each do |error| %>
- <%= error.full_message %>
<% end %>
<% end %>
<%= form.text_field :subject, class: "form-control" %>
<%= form.label :subject %>
<%= form.text_area :body, class: "form-control", style: "height: 100px" %>
<%= form.label :body %>
<%# form.label :sent, style: "display: block" %>
<%# form.check_box :sent %>
<%= form.submit "Send Suggestion", class: "btn btn-primary btn-lg" %>
<% end %>