added recent answer display to index
This commit is contained in:
parent
0daf40a1e7
commit
10fdcbffee
@ -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"}
|
Loading…
Reference in New Issue
Block a user