{% extends 'PetramasMainBundle::layout.html.twig' %}
{% block content -%}
<h1>Cliente</h1>
<table class="record_properties">
<tbody>
<tr>
<th>Id</th>
<td>{{ entity.id }}</td>
</tr>
<tr>
<th>Razonsocial</th>
<td>{{ entity.razonSocial }}</td>
</tr>
<tr>
<th>Ruc</th>
<td>{{ entity.ruc }}</td>
</tr>
<tr>
<th>Direccion</th>
<td>{{ entity.direccion }}</td>
</tr>
</tbody>
</table>
<a class="btn btn-info pull-right" href="{{ path('cliente') }}">Volver</a>
<a class="btn btn-warning pull-right" href="{{ path('cliente_edit', { 'id': entity.id }) }}">Editar</a>
{{ form(delete_form) }}
{% endblock %}
Aquí sólo le dijimos que herede de layout.html.twig y le pusimos los botones que ya teníamos hechos al final.
No hay comentarios.:
Publicar un comentario
Puedes comentar como te gustaría que comenten de ti.