aboutsummaryrefslogtreecommitdiffhomepage
path: root/services/app/templates/answer_list.html.twig
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2024-03-05 23:38:00 +0900
committernsfisis <nsfisis@gmail.com>2024-03-05 23:38:00 +0900
commit3100340e7e59e3b0f61667dff35c0a56b67f83da (patch)
tree549dd1f22cd9b39c02d89d3df68ea709811a0b47 /services/app/templates/answer_list.html.twig
parentfc3bf7310451a2a60b100af53c938ddd5078d34d (diff)
downloadphperkaigi-2024-albatross-3100340e7e59e3b0f61667dff35c0a56b67f83da.tar.gz
phperkaigi-2024-albatross-3100340e7e59e3b0f61667dff35c0a56b67f83da.tar.zst
phperkaigi-2024-albatross-3100340e7e59e3b0f61667dff35c0a56b67f83da.zip
update site design
Diffstat (limited to 'services/app/templates/answer_list.html.twig')
-rw-r--r--services/app/templates/answer_list.html.twig7
1 files changed, 6 insertions, 1 deletions
diff --git a/services/app/templates/answer_list.html.twig b/services/app/templates/answer_list.html.twig
index 23f51ce..03ab438 100644
--- a/services/app/templates/answer_list.html.twig
+++ b/services/app/templates/answer_list.html.twig
@@ -13,13 +13,18 @@
<p>
{{ quiz.description }}
</p>
+ {% if is_open %}
+ <p>
+ <a class="btn btn-primary" href="{{ url_for('answer_new', { qslug: quiz.slug }) }}">回答する</a>
+ </p>
+ {% endif %}
<h2>回答一覧</h2>
{% if answers|length == 0 %}
<p>
まだ回答がありません
</p>
{% else %}
- <table>
+ <table class="table table-striped table-bordered">
<thead>
<tr>
<th>ランク</th>