Added some Twiggy goodness
This commit is contained in:
16
templates/question/show.html.twig
Normal file
16
templates/question/show.html.twig
Normal file
@ -0,0 +1,16 @@
|
||||
{% extends 'base.html.twig' %}
|
||||
{% block title %}Question: {{ question }}{% endblock %}
|
||||
|
||||
{% block body %}
|
||||
<h1>{{ question }}</h1>
|
||||
<div>
|
||||
Eventually, we'll print the full question here!
|
||||
</div>
|
||||
|
||||
<h2>Answers</h2>
|
||||
<ul>
|
||||
{% for answer in answers %}
|
||||
<li>{{ answer }}</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% endblock %}
|
Reference in New Issue
Block a user