From e119f29680562c58a9df6e7539c40648b7ae59d3 Mon Sep 17 00:00:00 2001 From: Karina Kwiatek Date: Sun, 17 Dec 2023 22:33:54 +0100 Subject: [PATCH] Group inputs in ask modal Co-authored-by: Andreas Nedbal --- app/views/modal/_ask.html.haml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/app/views/modal/_ask.html.haml b/app/views/modal/_ask.html.haml index b6ec7025..403e6a84 100644 --- a/app/views/modal/_ask.html.haml +++ b/app/views/modal/_ask.html.haml @@ -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")