<%= form_with(model: student) do |form| %> <% if student.errors.any? %>

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

<% end %>
<%= form.label :name, style: "display: block" %> <%= form.text_field :name %>
<%= form.label :school, style: "display: block" %> <%= form.text_field :school %>
<%= form.label :standard, style: "display: block" %> <%= form.number_field :standard %>
<%= form.label :place, style: "display: block" %> <%= form.text_field :place %>
<%= form.submit %>
<% end %>