Move message length information before the button

We feel that this is more appropriate because it’s part of the
information you’re agreeing to before you hit submit.

Sometimes users can missing information that doesn’t start left-aligned
to the column they’re interacting with.

It also makes it closer to the Design System component.

We’re keeping it in the sticky footer, so that it’s always visible no
matter where in the message you’re scrolled to (this means you won’t
have to edited to content then scroll down to check whether you’ve
made it fit).
This commit is contained in:
Chris Hill-Scott
2021-01-08 13:49:18 +00:00
parent 6f514ef019
commit c127de4268
7 changed files with 27 additions and 22 deletions

View File

@@ -11,10 +11,11 @@
width='2-3',
suffix=None,
safe_error_message=False,
rows=8
rows=8,
extra_form_group_classes=''
) %}
<div
class="form-group{% if field.errors %} form-group-error{% endif %}"
class="form-group{% if field.errors %} form-group-error{% endif %} {{ extra_form_group_classes }}"
data-module="{% if autofocus %}autofocus{% elif colour_preview %}colour-preview{% endif %}"
>
<label class="form-label" for="{{ field.name }}">