Add link to answer page to result page

This commit is contained in:
Sauer 2019-04-11 15:26:49 +02:00
parent b20acd500f
commit 80e00c2582
2 changed files with 3 additions and 3 deletions

View File

@ -9,8 +9,8 @@
<nav>
<ul>
<li {% if request.path == url_for('index') %} class="active" {% endif %}><a href="{{ url_for('index') }}">Home</a></li>
<li {% if request.path == url_for('form') %} class="active" {% endif %}><a href="{{ url_for('form') }}">Questionnaire</a></li>
<li {% if request.path == url_for('answers') %} class="active" {% endif %}><a href="{{ url_for('answers') }}">My Answers</a></li>
<li {% if request.path == url_for('form') %} class="active" {% endif %}><a href="{{ url_for('form') }}">Formular</a></li>
<li {% if request.path == url_for('answers') %} class="active" {% endif %}><a href="{{ url_for('answers') }}">Meine Antworten</a></li>
</ul>
</nav>
{% block content %}

View File

@ -4,6 +4,6 @@
<h2>Herzlichen Glückwunsch, du bist in Haus</h2>
{{ hausname }}
<p>{{ haustext }}</p>
<p>Deine Id, mit der du deine Antworten unter dem Reiter "Meine Antworten" später wieder abrufen kannst, lautet:
<p>Deine Kennwort, mit der du deine Antworten unter dem Reiter <a href="{{ url_for('answers')}}">Meine Antworten</a> später wieder abrufen kannst, lautet:
{{ id }}</p>
{% endblock %}