Files
openfoodnetwork/app/views/registration/_modal.html.haml
David Cook b9aada47e0 Remove superfluous %div from haml ID elements
Div is the default element in HAML, so we don't need to specify it.
2025-03-03 14:46:24 +01:00

12 lines
561 B
Plaintext

%script{ type: "text/ng-template", id: "registration.html" }
#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" }
%ng-include{ src: "'registration/'+ step + '.html'" }
%div{ "ng-show": "currentStep() == 'finished'" }
%ng-include{ src: "'registration/finished.html'" }
%a.close-reveal-modal{"ng-click" => "$close()"}
%i.ofn-i_009-close