<%= form_with(model: institution) do |form| %>
  <% if institution.errors.any? %>
    <div style="color: red">
      <h2><%= pluralize(institution.errors.count, "error") %> prohibited this institution from being saved:</h2>

      <ul>
        <% institution.errors.each do |error| %>
          <li><%= error.full_message %></li>
        <% end %>
      </ul>
    </div>
  <% end %>

  <div>
    <%= form.label :name, style: "display: block" %>
    <%= form.text_field :name %>
  </div>

  <div>
    <%= form.label :manager_name, style: "display: block" %>
    <%= form.text_field :manager_name %>
  </div>

  <div>
    <%= form.submit %>
  </div>
<% end %>
