mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-05 02:42:26 -05:00
For pages where - we want you to be sure that you want to do what you’re about to do - we want to be sure it’s you trying to do the thing This adds a page that asks the user to confirm their password.
16 lines
674 B
HTML
16 lines
674 B
HTML
{% macro textbox(name, label, value='', small=True, highlight_tags=False, password=False) %}
|
|
<div class="form-group">
|
|
<label class="form-label" for="{{ name }}">{{ label }}</label>
|
|
{% if small %}
|
|
<input class="form-control" id="{{ name }}" name="{{ name }}" type="{{ 'password' if password else 'text' }}" value="{{ value }}">
|
|
{% else %}
|
|
<textarea
|
|
class="form-control {% if highlight_tags %}textbox-highlight-textbox{% endif %}"
|
|
id="{{ name }}" name="{{ name }}"
|
|
cols="30" rows="10"
|
|
{% if highlight_tags %}data-module='highlight-tags'{% endif %}
|
|
>{{ value }}</textarea>
|
|
{% endif %}
|
|
</div>
|
|
{% endmacro %}
|