Skip to content

Commit 5b8aec4

Browse files
committed
add password input component demo
1 parent 9ba81a6 commit 5b8aec4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

app/templates/demos/component.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
{%- from 'govuk_frontend_jinja/components/notification-banner/macro.html' import govukNotificationBanner -%}
2424
{%- from 'govuk_frontend_jinja/components/pagination/macro.html' import govukPagination -%}
2525
{%- from 'govuk_frontend_jinja/components/panel/macro.html' import govukPanel -%}
26+
{%- from 'govuk_frontend_jinja/components/password-input/macro.html' import govukPasswordInput -%}
2627
{%- from 'govuk_frontend_jinja/components/phase-banner/macro.html' import govukPhaseBanner -%}
2728
{%- from 'govuk_frontend_jinja/components/radios/macro.html' import govukRadios -%}
2829
{%- from 'govuk_frontend_jinja/components/select/macro.html' import govukSelect -%}
@@ -124,6 +125,8 @@ <h2 id="{{fixture.name | replace(' ', '-')}}" class="govuk-heading-l">{{fixture.
124125
{{ govukPagination(fixture.options)}}
125126
{% elif component == 'panel' %}
126127
{{ govukPanel(fixture.options)}}
128+
{% elif component == 'password-input' %}
129+
{{ govukPasswordInput(fixture.options)}}
127130
{% elif component == 'phase-banner' %}
128131
{{ govukPhaseBanner(fixture.options)}}
129132
{% elif component == 'radios' %}

0 commit comments

Comments
 (0)