changed design for recent answers

This commit is contained in:
pixeldesu 2014-08-18 16:49:31 +02:00
parent 10fdcbffee
commit bd9a919a25

View File

@ -26,16 +26,20 @@
<input type="hidden" name="words"> <input type="hidden" name="words">
</form> </form>
{if="$recent_answers"} {if="$recent_answers"}
<h4>Recent Answers by others:</h4> <div class="row">
<table class="table table-responsive table-bordered table-condensed"> <div class="col-md-8">
<tbody> <h4>Recent Answers by others:</h4>
{loop="$recent"} <table class="table table-responsive table-bordered table-condensed">
<tr> <tbody>
<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> {loop="$recent"}
</tr> <tr>
{/loop} <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>
</tbody> </tr>
</table> {/loop}
</tbody>
</table>
</div>
</div>
{/if} {/if}
</div> </div>
{include="footer"} {include="footer"}