mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-07-22 08:58:46 -04:00
This takes the original prototype version of this page, and, using the same fake data (ie nothing is wired up): - adds an invite users page - adds an edit (and delete) user page Both these pages allow the user to set another user’s permissions. This commit adds images for the ticks and crosses, so we have control over their appearance.
18 lines
543 B
HTML
18 lines
543 B
HTML
{% macro yes_no(name, label, current_value=None) %}
|
|
<fieldset class='yes-no'>
|
|
<legend class='yes-no-label'>
|
|
{{ label }}
|
|
</legend>
|
|
<div class='yes-no-fields inline'>
|
|
<label class='block-label'>
|
|
<input type='radio' name='{{ name }}' {% if current_value == True %}checked{% endif %} />
|
|
Yes
|
|
</label>
|
|
<label class='block-label'>
|
|
<input type='radio' name='{{ name }}' {% if current_value == False %}checked{% endif %} />
|
|
No
|
|
</label>
|
|
</div>
|
|
</fieldset>
|
|
{% endmacro %}
|