mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-07-05 08:59:10 -04:00
Give permissions form legend heading styles
Also includes putting the text at the foot of the checkboxes into a hint below the legend.
This commit is contained in:
@@ -124,10 +124,20 @@ td {
|
||||
|
||||
.form-label {
|
||||
margin-bottom: 5px;
|
||||
|
||||
&.heading-small {
|
||||
@include bold-19();
|
||||
}
|
||||
}
|
||||
|
||||
.hint {
|
||||
color: $secondary-text-colour;
|
||||
|
||||
.form-label + & {
|
||||
display: block;
|
||||
margin-top: -5px;
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
}
|
||||
|
||||
.list-bullet {
|
||||
|
||||
@@ -2,18 +2,17 @@
|
||||
{% from "components/radios.html" import radio, radios, conditional_radio_panel %}
|
||||
|
||||
<fieldset class="form-group">
|
||||
<legend class="form-label">
|
||||
<legend class="form-label heading-small">
|
||||
Permissions
|
||||
</legend>
|
||||
<span class="hint">
|
||||
All team members can see sent messages.
|
||||
</span>
|
||||
{% for field in form.permissions_fields %}
|
||||
{{ checkbox(field) }}
|
||||
{% endfor %}
|
||||
</fieldset>
|
||||
|
||||
<p class="bottom-gutter">
|
||||
All team members can see sent messages.
|
||||
</p>
|
||||
|
||||
{% if current_service.has_permission("edit_folder_permissions") and form.folder_permissions.all_template_folders %}
|
||||
{{ checkboxes_nested(form.folder_permissions, form.folder_permissions.children()) }}
|
||||
{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user