{% extends "AbookBundle:Layout:layout.html.twig" %}

{% block title %} List Contact {% endblock %}

{% block body %}

<section class="col col-lg-8">
    
    <fieldset>
        <legend>Contact List</legend>
        <table class="table table-striped table-bordered table-condensed table-hover">        
            <thead>
                <tr>
                    <td>First Name</td>
                    <td>Last Name</td>
                    <td>Address</td>
                </tr>
            </thead>
            <tbody>
            {% for current in contact %}
                <tr>
                    <td>{{ current.firstName }}</td>
                    <td>{{ current.lastName }}</td>
                    <td>{{ current.address }}</td>
                </tr>
            {% else %}
                <tr><td colspan="3">No data found</td></tr>
            {% endfor %}
            </tbody>
        </table>

    </fieldset>
    
</section>
    
{% endblock %}


{% extends "AbookBundle:Layout:layout.html.twig" %}

{% block title %} List Contact {% endblock %}

{% block body %}

<section class="col col-lg-8">
    
    <fieldset>
        <legend>Contact List</legend>
        <table class="table table-striped table-bordered table-condensed table-hover">        
            <thead>
                <tr>
                    <th>#</th>
                    <th>First Name</th>
                    <th>Last Name</th>
                    <th>Address</th>
                </tr>
            </thead>
            <tbody>
            {% for current in contact %}
                <tr>
                    <td>{{ current.idContact }}</td>
                    <td>{{ current.firstName }}</td>
                    <td>{{ current.lastName }}</td>
                    <td>{{ current.address }}</td>
                </tr>
            {% else %}
                <tr><td colspan="3">No data found</td></tr>
            {% endfor %}
            </tbody>
        </table>

    </fieldset>
    
</section>
    
{% endblock %}


Add field into contact list
Add field into contact list
