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

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

<% end %>
<%= form.label :description %> <%= form.text_field :description, class: "block shadow rounded-md border border-gray-200 outline-none px-3 py-2 mt-2 w-full" %>
<%= form.label :amount %> <%= form.text_field :amount, class: "block shadow rounded-md border border-gray-200 outline-none px-3 py-2 mt-2 w-full" %>
<%= form.label :deduct_autopaid %> <%= form.check_box :deduct_autopaid, 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 %>