Skip to content

Commit

Permalink
Display the page title on the WAYG
Browse files Browse the repository at this point in the history
Previously the page_title block was rendered, but that was not set. The
application_name was set with the 'gateway.second_factor.choose_second_factor.title'
and using that on the page title made perfect sense to me.
  • Loading branch information
MKodde committed Aug 10, 2023
1 parent 10140a7 commit 063de42
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
{% block container_class %}{{ parent() }} wayg{% endblock container_class %}

{% block content %}
<h2>{{ block('page_title') }}</h2>
<h2>{{ block('application_name') }}</h2>
{{ form_start(form, {'attr': {'class': 'form-horizontal choose-second-factor-type'}}) }}

{% set formErrors = form.vars.errors.form.getErrors(true) %}
Expand Down

0 comments on commit 063de42

Please sign in to comment.