diff --git a/horizon/templates/auth/_login_modal.html b/horizon/templates/auth/_login_modal.html index 77f7584b89..cda6c85257 100644 --- a/horizon/templates/auth/_login_modal.html +++ b/horizon/templates/auth/_login_modal.html @@ -20,9 +20,14 @@ {% endblock %} +{% block login_footer %} + {{ block.super }} + {% include '_login_form_footer.html' %} +{% endblock %} + {% block post_login %} {{ block.super }} -{% endblock %} \ No newline at end of file +{% endblock %} diff --git a/horizon/templates/auth/_login_page.html b/horizon/templates/auth/_login_page.html index 48da515dda..b6b667d760 100644 --- a/horizon/templates/auth/_login_page.html +++ b/horizon/templates/auth/_login_page.html @@ -13,9 +13,14 @@ {{ block.super }} {% endblock %} +{% block login_footer %} + {{ block.super }} + {% include '_login_form_footer.html' %} +{% endblock %} + {% block post_login %} {{ block.super }} -{% endblock %} \ No newline at end of file +{% endblock %} diff --git a/openstack_dashboard/templates/_login_form_footer.html b/openstack_dashboard/templates/_login_form_footer.html new file mode 100644 index 0000000000..eb9ff48b2f --- /dev/null +++ b/openstack_dashboard/templates/_login_form_footer.html @@ -0,0 +1,6 @@ +{% comment %} + A simple placeholder template for custom login form footer content. + Unlike the login footer, this template places content into the form + right below the login button. Such as a link to a password reset + form or other additional links. +{% endcomment %}