{{ header }} 
{% include 'fastor/template/new_elements/wrapper_top.twig' %}

<h2>{{ text_address_book }}</h2>
{% if addresses %}
<div class="table-responsive">
<table class="table table-bordered table-hover">
  {% for result in addresses %}
  <tr>
    <td class="text-left">{{ result.address }}</td>
    <td class="text-right"><a href="{{ result.update }}" class="btn btn-info">{{ button_edit }}</a> &nbsp; <a href="{{ result.delete }}" class="btn btn-danger">{{ button_delete }}</a></td>
  </tr>
  {% endfor %}
</table>
</div>
{% else %}
<p>{{ text_empty }}</p>
{% endif %}
<div class="buttons clearfix">
<div class="pull-left"><a href="{{ back }}" class="btn btn-default">{{ button_back }}</a></div>
<div class="pull-right"><a href="{{ add }}" class="btn btn-primary">{{ button_new_address }}</a></div>
</div>
      
{% include 'fastor/template/new_elements/wrapper_bottom.twig' %}
{{ footer }}