From 9926b65bd9d3f39381f4ba2bb919e70c9c995afe Mon Sep 17 00:00:00 2001 From: filipefurtad0 Date: Mon, 18 Mar 2024 15:34:14 +0000 Subject: [PATCH] Removes unused haml file --- app/views/checkout/payment/_gateway.html.haml | 27 ------------------- 1 file changed, 27 deletions(-) delete mode 100644 app/views/checkout/payment/_gateway.html.haml diff --git a/app/views/checkout/payment/_gateway.html.haml b/app/views/checkout/payment/_gateway.html.haml deleted file mode 100644 index e2e1f8412d..0000000000 --- a/app/views/checkout/payment/_gateway.html.haml +++ /dev/null @@ -1,27 +0,0 @@ -= f.fields :bill_address, model: @order.bill_address do |bill_address| - %div.checkout-input - = bill_address.label :firstname, t("checkout.step1.your_details.first_name.label") - = bill_address.text_field :firstname, { placeholder: t("checkout.step1.your_details.first_name.placeholder") } - = f.error_message_on "bill_address.firstname" - - %div.checkout-input - = bill_address.label :lastname, t("checkout.step1.your_details.last_name.label") - = bill_address.text_field :lastname, { placeholder: t("checkout.step1.your_details.last_name.placeholder") } - = f.error_message_on "bill_address.lastname" - -.flex{style: "justify-content: space-between; gap: 10px;" } - %div.checkout-input{style: "flex-grow: 2;" } - = f.label :card_number, t("checkout.step2.form.card_number.label") - = f.text_field :card_number, { placeholder: t("checkout.step2.form.card_number.placeholder") } - - %div.checkout-input{style: "flex: 0 1 100px;"} - = f.label :card_verification_value, t("checkout.step2.form.card_verification_value.label") - = f.number_field :card_verification_value, { placeholder: t("checkout.step2.form.card_verification_value.placeholder") } - - %div.checkout-input{style: "flex: 0 1 70px;"} - = f.label :card_month, t("checkout.step2.form.card_month.label") - = f.number_field :card_month, { placeholder: t("checkout.step2.form.card_month.placeholder"), max: 12 } - - %div.checkout-input{style: "flex: 0 1 70px;"} - = f.label :card_year, t("checkout.step2.form.card_year.label") - = f.number_field :card_year, { placeholder: t("checkout.step2.form.card_year.placeholder"), min: Time.now.year, max: Time.now.year + 10 }