<%= form_with model: @section do |form| %> <% if @section.errors.any? %>

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

<% end %>

Section ID: <%= @section.id ? @section.id : (Section.maximum(:id) ? Section.maximum(:id).next : 1) =%>

<%= form.label :description %>
<%= form.text_area :description %>

<%= form.submit %>

<% end %>