mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-26 01:04:00 -04:00
Allowed custom attributes to be added to textbox component
This commit is contained in:
@@ -41,11 +41,12 @@
|
|||||||
' form-control-error' if field.errors else ''
|
' form-control-error' if field.errors else ''
|
||||||
)
|
)
|
||||||
%}
|
%}
|
||||||
{{ field(**{
|
{{ field(
|
||||||
'class': field_class,
|
class=field_class,
|
||||||
'data-module': 'highlight-tags' if highlight_tags else '',
|
data_module='highlight-tags' if highlight_tags else '',
|
||||||
'rows': rows|string
|
rows=rows|string,
|
||||||
}) }}
|
**kwargs
|
||||||
|
) }}
|
||||||
{% if suffix %}
|
{% if suffix %}
|
||||||
<span>{{ suffix }}</span>
|
<span>{{ suffix }}</span>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|||||||
Reference in New Issue
Block a user