mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-07-16 03:10:16 -04:00
The visual appearance of radio and checkbox form inputs changed in GOV.UK Elements here: https://github.com/alphagov/govuk_elements/pull/296 This was subsequently reimplemented with different markup and no Javascript here: https://github.com/alphagov/govuk_elements/pull/406 This has meant making the following changes to our app: - changing the markup in our radio/checkbox macros to match the example markup given by GOV.UK Elements - removing the previous Javascript file because it’s no longer needed to make the radios appear visual selected - making the buttons on the scheduled job picker look like links, because the grey button style looked weird with the new radio buttons
22 lines
508 B
HTML
22 lines
508 B
HTML
{% from "components/checkbox.html" import checkbox %}
|
|
|
|
<fieldset class="form-group">
|
|
<legend class="form-label">
|
|
Permissions
|
|
</legend>
|
|
{{ checkbox(form.send_messages) }}
|
|
{{ checkbox(form.manage_service) }}
|
|
{{ checkbox(form.manage_api_keys) }}
|
|
</fieldset>
|
|
|
|
<div class="form-group">
|
|
<p class="form-label">
|
|
All team members can see
|
|
</p>
|
|
<ul class="list list-bullet">
|
|
<li>templates</li>
|
|
<li>history of sent messages</li>
|
|
<li>who the other team members are</li>
|
|
</ul>
|
|
</div>
|