mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-27 01:43:22 +00:00
Removes unused haml file
This commit is contained in:
@@ -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 }
|
||||
Reference in New Issue
Block a user