<%= form_with(model: reminder, local: true) do |form| %> <% if reminder.errors.any? %>

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

<% end %>
<%= form.label :title %> <%= form.text_field :title %>
<%= form.label :body %> <%= form.text_area :body %>
<%= form.label :date %> <%= form.datetime_select :date %>
<%= form.submit %>
<% end %>