{% extends "@crud\\crud\\formulario.html.twig" %}
{% block form_action %}
{{ form_start(form, {'attr': { 'class': 'form form_'~routeClassName, 'id': 'crud_form_'~routeClassName}, 'method': 'POST', 'action': path('crud_plain_update', {'rol': rol, 'id': entity.id, 'routeClassName': routeClassName})}) }}
{% endblock %}
{% block botones_form %}
{{ parent() }}
<div class="row">
{% if deleteInIndex %}
{% set col=4 %}
{% else %}
{% set col=6 %}
{% endif %}
<div class="col-xs-{{ col }}">
<center>
{% block action_retorno %}
<a id="btn_retorno_{{ routeClassName }}" class="btn btn-white btn-inverse btn-bold btn-round" href="{{ path('crud_plain_back_to_list', {'rol': rol, 'routeClassName': routeClassName, 'id': entity.id,'from': 'edit'}) }}">
{% trans from 'crud' %}botones.regresar{% endtrans %}
</a>
{% endblock %}
</center>
</div>
<div class="col-xs-{{ col }}">
<center>
<input id="btn_save_{{ routeClassName }}" class="btn btn-white btn-inverse btn-bold btn-round" type="submit" value="{% trans from 'crud' %}botones.grabar{% endtrans %}" name="{{btnSave}}">
</center>
</div>
{% if deleteInIndex %}
<div class="col-xs-{{ col }}">
<center>
{% block action_delete %}
<a id="btn_delete_{{ routeClassName }}" class="btn btn-white btn-inverse btn-bold btn-round del_item" href="{{ path('crud_plain_delete', { 'rol': rol, 'id' : entity.id, 'routeClassName': routeClassName }) }}">{% trans from 'crud' %}botones.eliminar{% endtrans %}</a>
{% endblock %}
</center>
</div>
{% endif %}
</div>
{% endblock %}