mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-27 21:06:49 +00:00
11 lines
720 B
Plaintext
11 lines
720 B
Plaintext
%div{ id: @id, "data-controller": "modal #{@controller}", "data-action": "keyup@document->modal#closeIfEscapeKey", "data-#{@controller}-reflex-value": @reflex }
|
|
.reveal-modal-bg.fade{ "data-modal-target": "background", "data-action": "click->modal#close" }
|
|
.reveal-modal.fade.tiny.help-modal{ "data-modal-target": "modal" }
|
|
= content
|
|
|
|
= render @message if @message
|
|
|
|
.modal-actions
|
|
%input{ class: "button icon-plus #{close_button_class}", type: 'button', value: t('js.admin.modals.cancel'), "data-action": "click->modal#close" }
|
|
%input{ class: "button icon-plus primary", type: 'button', value: t('js.admin.modals.confirm'), "data-action": @confirm_actions, "data-reflex": @confirm_reflexes }
|