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

      <ul>
        <% usps_mailer_id.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 :crid, style: "display: block" %>
    <%= form.text_field :crid %>
  </div>

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

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