<%= form_with(model: provider, class: "contents") do |form| %> <% if provider.errors.any? %>

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

<% end %>
<%= form.submit class: "w-full sm:w-auto rounded-md px-3.5 py-2.5 bg-blue-600 hover:bg-blue-500 text-white inline-block font-medium cursor-pointer" %>
<% end %>