Skip to content

Commit

Permalink
Added Decimal Support in min transaction
Browse files Browse the repository at this point in the history
  • Loading branch information
Harry-kp committed Jan 24, 2025
1 parent 7d04ea1 commit 925b66e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/views/credit_cards/_form.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
<%= credit_card_form.number_field :minimum_payment,
label: t("credit_cards.form.minimum_payment"),
placeholder: t("credit_cards.form.minimum_payment_placeholder"),
min: 0 %>
min: 0,
step: 0.01 %>
<%= credit_card_form.number_field :apr,
label: t("credit_cards.form.apr"),
placeholder: t("credit_cards.form.apr_placeholder"),
Expand Down

0 comments on commit 925b66e

Please sign in to comment.