Group inputs in ask modal

Co-authored-by: Andreas Nedbal <git@pixelde.su>
This commit is contained in:
Karina Kwiatek 2023-12-17 22:33:54 +01:00
parent b02375985a
commit e119f29680
1 changed files with 4 additions and 3 deletions

View File

@ -12,8 +12,9 @@
%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')
.modal-footer
.float-start.flex-grow-1
.flex-grow-1
%input.form-check-input#qb-send-to-own-inbox{ type: :checkbox }
%label.form-check-label{ for: 'qb-send-to-own-inbox' }= t('.send_to_own_inbox')
%button.btn.btn-default{ type: :button, data: { bs_dismiss: :modal } }= t("voc.cancel")
%button.btn.btn-primary{ name: "qb-all-ask", type: :button, data: { loading_text: t(".loading") } }= t(".action")
.flex-grow-1.d-flex
%button.btn.btn-default.ms-auto{ type: :button, data: { bs_dismiss: :modal } }= t("voc.cancel")
%button.btn.btn-primary{ name: "qb-all-ask", type: :button, data: { loading_text: t(".loading") } }= t(".action")