Retrospring/app/views/modal/_ask.html.haml

16 lines
1.0 KiB
Plaintext
Raw Normal View History

2022-07-26 17:05:29 -07:00
.modal.fade#modal-ask-followers{ aria: { hidden: true, labelledby: "modal-ask-followers-label" }, role: :dialog, tabindex: -1 }
2014-12-07 11:18:53 -08:00
.modal-dialog
.modal-content{ data: { controller: "character-count", "character-count-max-value": 512 }}
2014-12-07 11:18:53 -08:00
.modal-header
2022-07-26 17:05:29 -07:00
%h5.modal-title#modal-ask-followers-label= t(".title")
2020-05-10 03:53:30 -07:00
%button.close{ data: { dismiss: :modal }, type: :button }
%span{ aria: { hidden: true } } ×
2022-07-26 17:05:29 -07:00
%span.sr-only= t("voc.close")
2014-12-07 11:18:53 -08:00
.modal-body
.form-group.has-feedback
%textarea.form-control{ name: "qb-all-question", placeholder: t(".placeholder"), data: { "character-count-target": "input" } }
%p.text-right.text-muted.form-control-feedback{ data: { "character-count-target": "counter" } } 512
2014-12-07 11:18:53 -08:00
.modal-footer
2022-07-26 17:05:29 -07:00
%button.btn.btn-default{ type: :button, data: { dismiss: :modal } }= t("voc.cancel")
%button.btn.btn-primary{ name: "qb-all-ask", type: :button, data: { "character-count-target": "action", loading_text: t(".loading") } }= t(".action")