mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-16 20:49:00 -04:00
Allow text_fields to have an optional status
Status is used for making the text greyed-out or red, etc.
This commit is contained in:
@@ -73,8 +73,8 @@
|
||||
</td>
|
||||
{% endmacro %}
|
||||
|
||||
{% macro text_field(text) -%}
|
||||
{% call field() %}
|
||||
{% macro text_field(text, status='') -%}
|
||||
{% call field(status=status) %}
|
||||
{{ text }}
|
||||
{% endcall %}
|
||||
{%- endmacro %}
|
||||
|
||||
Reference in New Issue
Block a user