mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-04-01 06:41:41 +00:00
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:
@@ -78,7 +78,7 @@
|
||||
%p
|
||||
= t('.no_payment_methods')
|
||||
|
||||
%div#save-bar
|
||||
#save-bar
|
||||
.container
|
||||
.seven.columns.alpha
|
||||
- if @order_cycle.errors.any?
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
%div#voucher-section
|
||||
#voucher-section
|
||||
.checkout-title
|
||||
= t("checkout.step2.voucher.apply_voucher")
|
||||
.checkout-input{"data-controller": "toggle-control"}
|
||||
|
||||
@@ -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" }
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user