show.html.twig
1.26 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
{% extends 'base.html.twig' %}
{% block body %}
<h1>Ver Persona</h1>
<table class="table table-bordered">
<tbody>
<tr>
<th>Id</th>
<td><input disabled value="{{ persona.id }}"></input></td>
</tr>
<tr>
<th>Nombre</th>
<td><input disabled value="{{ persona.nombre }}"></input></td>
</tr>
<tr>
<th>Apellido</th>
<td><input disabled value="{{ persona.apellido }}"></input></td>
</tr>
<tr>
<th>Cedula</th>
<td><input disabled value="{{ persona.cedula }}"></input></td>
</tr>
</tbody>
</table>
<div style="text-align:right">
<ul>
<a class="btn btn-primary" role="button" href="{{ path('persona_index') }}"><span class="glyphicon glyphicon-circle-arrow-left"></span></a>
<a class="btn btn-primary" role="button" href="{{ path('persona_edit', { 'id': persona.id }) }}"><span class="glyphicon glyphicon-pencil"></span></a>
{{ form_start(delete_form) }}
<input type="submit" class="btn btn-primary" value="Eliminar"/>
{{ form_end(delete_form) }}
</ul>
</div>
{% endblock %}