Commit 10fdcbff authored by pixeldesu's avatar pixeldesu
Browse files

added recent answer display to index

parent 0daf40a1
......@@ -25,5 +25,17 @@
</div>
<input type="hidden" name="words">
</form>
{if="$recent_answers"}
<h4>Recent Answers by others:</h4>
<table class="table table-responsive table-bordered table-condensed">
<tbody>
{loop="$recent"}
<tr>
<td><b>{$value.author}</b> wrote that {$user_name} is <span class="label label-default">{$value.word1}</span>, <span class="label label-default">{$value.word2}</span> and <span class="label label-default">{$value.word3}</span></td>
</tr>
{/loop}
</tbody>
</table>
{/if}
</div>
{include="footer"}
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment