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
|
2023-01-08 08:12:46 -08:00
|
|
|
.modal-content{ data: { controller: "character-count-warning", "character-count-warning-warn-value": Question::SHORT_QUESTION_MAX_LENGTH }}
|
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")
|
2023-01-04 04:26:27 -08:00
|
|
|
%button.btn-close{ data: { bs_dismiss: :modal }, type: :button }
|
2023-01-04 02:12:40 -08:00
|
|
|
%span.visually-hidden= t("voc.close")
|
2014-12-07 11:18:53 -08:00
|
|
|
.modal-body
|
2022-10-02 13:10:04 -07:00
|
|
|
.form-group.has-feedback
|
2023-01-08 08:12:46 -08:00
|
|
|
%textarea.form-control{ name: "qb-all-question", placeholder: t(".placeholder"), data: { "character-count-warning-target": "input" } }
|
|
|
|
.alert.alert-warning.mt-3.d-none{ data: { "character-count-warning-target": "warning" } }= t('.long_question_warning')
|
2014-12-07 11:18:53 -08:00
|
|
|
.modal-footer
|
2023-01-04 04:26:27 -08:00
|
|
|
%button.btn.btn-default{ type: :button, data: { bs_dismiss: :modal } }= t("voc.cancel")
|
2023-01-08 08:12:46 -08:00
|
|
|
%button.btn.btn-primary{ name: "qb-all-ask", type: :button, data: { loading_text: t(".loading") } }= t(".action")
|