Files
openfoodnetwork/app/views/registration/steps/_images.html.haml
Maikel Linke ba51641271 Symbolise hash keys in HAML files
This was done by the haml-up script.
2024-02-22 15:01:14 +11:00

24 lines
1.2 KiB
Plaintext

%script{ type: "text/ng-template", id: "registration/images.html" }
.container#registration-images{ "nv-file-drop": true, uploader: "imageUploader", options: "{ alias: imageStep }", "ng-controller": "EnterpriseImageCtrl" }
%ng-include{ src: "'registration/steps.html'" }
.row
.small-12.columns
%header
%h2= t(".headline")
%h5= t(".description")
%form{ name: 'images', novalidate: true, "ng-controller": "RegistrationFormCtrl", "ng-submit": "select('social')" }
.row{ "ng-repeat": 'image_step in imageSteps', "ng-show": "imageStep == image_step" }
%ng-include{ src: "'registration/'+ image_step + '.html'" }
.row.buttons.pad-top{ "ng-if": "imageStep == 'logo'" }
.small-12.columns
%input.button.secondary{ type: "button", value: t(".back"), "ng-click": "select('about')" }
 
%input.button.primary.right{ type: "button", value: t(".continue"), "ng-click": "imageSelect('promo')" }
.row.buttons.pad-top{ "ng-if": "imageStep == 'promo'" }
.small-12.columns
%input.button.secondary{ type: "button", value: t(".back"), "ng-click": "imageSelect('logo')" }
%input.button.primary.right{ type: "submit", value: t(".continue") }