{% extends 'base.html.twig' %}
{% block body %}
<center> <h1 class="display-4">Medicos</h1> </center>
<div class="row">
<div class="col-sm-2"></div>
<div class="col-sm-8">
<table class="table table-striped table-dark">
<thead class="thead-dark">
<tr>
<th scope="col"><center>id: <i class="fa fa-id-card"></i> </center> </th>
<th scope="col"> <center>Nome: <i class="fa fa-users "></i></center> </th>
<th scope="col"><center>Crm: <i class="fa fa-cubes "></i></center></th>
</tr>
</thead>
{% for medicos in medicos %}
<tbody>
<tr>
<td class="medico"><center>{{ medicos.id }}</center></td>
<td class="medico"><center>{{ medicos.nome }}</center></td>
<td class="medico"><center>{{ medicos.crm }}</center></td>
</tr><br>