Remove superfluous %div from haml ID elements

Div is the default element in HAML, so we don't need to specify it.
This commit is contained in:
David Cook
2025-02-13 10:25:19 +11:00
committed by Konrad
parent 5a1190cdda
commit b9aada47e0
4 changed files with 4 additions and 4 deletions

View File

@@ -78,7 +78,7 @@
%p
= t('.no_payment_methods')
%div#save-bar
#save-bar
.container
.seven.columns.alpha
- if @order_cycle.errors.any?

View File

@@ -1,4 +1,4 @@
%div#voucher-section
#voucher-section
.checkout-title
= t("checkout.step2.voucher.apply_voucher")
.checkout-input{"data-controller": "toggle-control"}

View File

@@ -1,5 +1,5 @@
%script{ type: "text/ng-template", id: "registration.html" }
%div#registration-modal{"ng-controller" => "RegistrationCtrl"}
#registration-modal{"ng-controller" => "RegistrationCtrl"}
%div{ "ng-show": "currentStep() == 'introduction'" }
%ng-include{ src: "'registration/introduction.html'" }
%div{ "ng-repeat": 'step in steps', "ng-show": "currentStep() == step" }

View File

@@ -1,7 +1,7 @@
- if ContentConfig.open_street_map_enabled
.map-container
%ofn-open-street-map#open-street-map
%div#open-street-map--search
#open-street-map--search
%input.autocomplete-input
%ul.autocomplete-result-list