mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-11 02:23:19 -04:00
Fixed unit tests
This commit is contained in:
@@ -45,7 +45,11 @@
|
|||||||
<fieldset id="{{ field.id }}" class="usa-fieldset" {% if inline %}class="inline"{% endif %}>
|
<fieldset id="{{ field.id }}" class="usa-fieldset" {% if inline %}class="inline"{% endif %}>
|
||||||
<legend class="{{ 'usa-legend' if not hide_legend else '' }}{% if legend_style != 'text' %} {{ legend_style }}{% endif %}">
|
<legend class="{{ 'usa-legend' if not hide_legend else '' }}{% if legend_style != 'text' %} {{ legend_style }}{% endif %}">
|
||||||
{% if hide_legend %}<span class="usa-sr-only">{% endif %}
|
{% if hide_legend %}<span class="usa-sr-only">{% endif %}
|
||||||
{{ field.label.text|safe }}
|
{% if legend_style == 'usa-legend--large' %}
|
||||||
|
<h1 class="usa-legend font-sans-lg">{{ field.label.text|safe }}</h1>
|
||||||
|
{% else %}
|
||||||
|
{{ field.label.text|safe }}
|
||||||
|
{% endif %}
|
||||||
{% if hide_legend %}</span>{% endif %}
|
{% if hide_legend %}</span>{% endif %}
|
||||||
{% if hint %}
|
{% if hint %}
|
||||||
<span class="form-hint">
|
<span class="form-hint">
|
||||||
|
|||||||
@@ -16,7 +16,7 @@
|
|||||||
|
|
||||||
<div class="grid-row">
|
<div class="grid-row">
|
||||||
{% call form_wrapper() %}
|
{% call form_wrapper() %}
|
||||||
{{ radios(form.sender, option_hints=option_hints) }}
|
{{ radios(form.sender, legend_style='usa-legend--large', option_hints=option_hints) }}
|
||||||
<div class="grid-col-9">
|
<div class="grid-col-9">
|
||||||
{{ page_footer('Continue') }}
|
{{ page_footer('Continue') }}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user