From 33887e8b6eed6b129bb332ab89b79c4afc6a242e Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Bellet Date: Fri, 26 Nov 2021 11:36:34 +0100 Subject: [PATCH] Remove wrong `min` attribute on input --- app/views/split_checkout/payment/_gateway.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/split_checkout/payment/_gateway.html.haml b/app/views/split_checkout/payment/_gateway.html.haml index a6dfdc5119..c8e32ba578 100644 --- a/app/views/split_checkout/payment/_gateway.html.haml +++ b/app/views/split_checkout/payment/_gateway.html.haml @@ -20,7 +20,7 @@ %div.checkout-input{style: "flex: 0 1 70px;"} = f.label :card_month, t("split_checkout.step2.form.card_month.label") - = f.number_field :card_month, { placeholder: t("split_checkout.step2.form.card_month.placeholder"), min: Time.now.month, max: 12 } + = f.number_field :card_month, { placeholder: t("split_checkout.step2.form.card_month.placeholder"), max: 12 } %div.checkout-input{style: "flex: 0 1 70px;"} = f.label :card_year, t("split_checkout.step2.form.card_year.label")