style form components

This commit is contained in:
2021-09-10 00:41:15 -04:00
committed by oliviasculley
parent 0bf93b4945
commit e9ad552f2f
3 changed files with 23 additions and 23 deletions

View File

@ -6,16 +6,16 @@
phx_change: "validate",
phx_submit: "save" %>
<%= label f, :count %>
<%= label f, :count, class: "title text-lg text-primary-500" %>
<%= number_input f, :count %>
<%= error_tag f, :count %>
<%= label f, :price_paid %>
<%= label f, :price_paid, class: "title text-lg text-primary-500" %>
<%= number_input f, :price_paid, step: "any" %>
<%= error_tag f, :price_paid %>
<%= label f, :notes %>
<%= textarea f, :notes %>
<%= label f, :notes, class: "title text-lg text-primary-500" %>
<%= textarea f, :notes, class: "input" %>
<%= error_tag f, :notes %>
<%= submit "Save", phx_disable_with: "Saving..." %>