%= form_with(model: student) do |form| %>
<% if student.errors.any? %>
<%= pluralize(student.errors.count, "error") %> prohibited this student from being saved:
<% student.errors.each do |error| %>
- <%= error.full_message %>
<% end %>
<% 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 %>