show.html.twig
1.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
{% extends 'base_app.html.twig' %}
{% block body %}
<div class="container">
<div class="widget widget-table action-table">
<div class="widget-header">
<div class="row">
<div class="col-sm-9"><i class="fa fa-list"></i>
<h3>Mostrando usuario</h3></div>
<div class="col-sm-2"><input type="text" class="form-control"></div>
</div>
</div>
<div class="widget-content">
<table class="table table-striped table-bordered table-condensed">
<thead></thead>
<tr>
<th>Username</th>
<td>{{ usuario.username }}</td>
</tr>
<tr>
<th>Password</th>
<td>{{ usuario.password }}</td>
</tr>
<tr>
<th>Id</th>
<td>{{ usuario.id }}</td>
</tr>
</tbody>
</table>
</table>
{{ form_start(delete_form) }}
<a href="{{ path('admin_usuarios_index') }}" class="btn btn-sm btn-warning">Regresar</a>
<a href="{{ path('admin_usuarios_edit', { 'id': usuario.id }) }}" class="btn btn-sm btn-info">Modificar</a>
<input type="submit" value="Delete" class="btn btn-sm btn-danger">
{{ form_end(delete_form) }}
</div>
{% endblock %}