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

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

<% end %>
<%= form.label :name %> <%= form.text_field :name %>
<%= form.label :author %> <%= form.text_field :author %>
<%= form.label :url %> <%= form.text_field :url %>
<%= form.submit %>
<% end %>