Created
November 8, 2018 06:49
-
-
Save andrechavesg/8069b585e2524c56c97a534c085d23e9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% extends 'base.html.twig' %} | |
{% block body %} | |
<div class="panel panel-default"> | |
<div class="panel-heading"> | |
Usuario | |
</div> | |
<!-- /.panel-heading --> | |
<div class="panel-body"> | |
<div class="table-responsive"> | |
<table class="table table-hover"> | |
<thead> | |
<tr> | |
<th>Login</th> | |
<th>Permissão</th> | |
<th>Ações</th> | |
</tr> | |
</thead> | |
<tbody> | |
{% for usuario in usuarios %} | |
<tr> | |
<td><a href="/usuario/edita/{{ usuario.id }}">{{ usuario.login }}</a></td> | |
<td>{{ usuario.permissao }}</td> | |
<td> | |
<a class="btn btn-danger" href="/usuario/remove/{{ usuario.id }}">remover</a> | |
</td> | |
</tr> | |
{% endfor %} | |
</tbody> | |
</table> | |
</div> | |
<!-- /.table-responsive --> | |
</div> | |
<!-- /.panel-body --> | |
</div> | |
{% endblock %} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment