%= form_with(model: member, class: "contents") do |form| %>
<% if member.errors.any? %>
<%= pluralize(member.errors.count, "error") %> prohibited this member from being saved:
<% member.errors.each do |error| %>
- <%= error.full_message %>
<% end %>
<% end %>
<%= form.label :name %>
<%= form.text_field :name, class: "block shadow rounded-md border border-gray-200 outline-none px-3 py-2 mt-2 w-full" %>
<%= form.label :pays %>
<%= form.check_box :pays, class: "block mt-2 h-5 w-5" %>
<%= form.submit class: "rounded-lg py-3 px-5 bg-blue-600 text-white inline-block font-medium cursor-pointer" %>
<% end %>