aboutsummaryrefslogtreecommitdiffhomepage
path: root/services/app/templates/answer_view.html.twig
diff options
context:
space:
mode:
Diffstat (limited to 'services/app/templates/answer_view.html.twig')
-rw-r--r--services/app/templates/answer_view.html.twig9
1 files changed, 9 insertions, 0 deletions
diff --git a/services/app/templates/answer_view.html.twig b/services/app/templates/answer_view.html.twig
index 300f2f5..9a55a20 100644
--- a/services/app/templates/answer_view.html.twig
+++ b/services/app/templates/answer_view.html.twig
@@ -1,6 +1,15 @@
{% extends '_page.html.twig' %}
{% block content %}
+ <nav>
+ <ol class="breadcrumb">
+ <li class="breadcrumb-item"><a href="{{ url_for('quiz_list') }}">問題一覧</a></li>
+ <li class="breadcrumb-item"><a href="{{ url_for('quiz_view', { qslug: quiz.slug }) }}">{{ quiz.title }}</a></li>
+ <li class="breadcrumb-item"><a href="{{ url_for('answer_list', { qslug: quiz.slug }) }}">回答一覧</a></li>
+ <li class="breadcrumb-item active">#{{ answer.answer_number }}</li>
+ </ol>
+ </nav>
+
<h2>{{ quiz.title }}</h2>
<p>
{{ quiz.description }}