{% extends "futstats/panelbase.html" %}
{% block body-wrapper %}  
   {{team.1}} 
    <img src="{{ team.2.url }}" height=""></a>
    <div class="row">
        <div class="large-6 columns">
 <table>
  <thead>
    <tr>
      <th width="200">Ultimos partidas</th>
      <th>Resultados</th>
    </tr>
  </thead>
  <tbody>
    {% for partido in partidos %}
        <tr>
        <td>{{partido.0}} - {{partido.1}}</td>
        <td>{{partido.2}} : {{partido.3}}</td>
        </tr>
    {% endfor %}
    </tbody>
</table>
</div>
 <div class="large-6 columns"></div>
 <table>
  <thead>
    <tr>
      <th width="200"></th>
      <th>Local</th>
      <th>Visitante</th>
    </tr>
  </thead>
  <tbody>
        <tr>
        <td>Goles media</td>
        <td>{{g_local}}</td>
        <td>{{g_visitante}}</td>
        </tr>
        <tr>
        <td>Posesion media</td>
        <td>{{p_local}}</td>
        <td>{{p_visitante}}</td>
        </tr>
        <tr>
        <td>Penalties media</td>
        <td>{{pen_local}}</td>
        <td>{{pen_visitante}}</td>
        </tr>
        <tr>
        <td>Remates media</td>
        <td>{{rem_local}}</td>
        <td>{{rem_visitante}}</td>
        </tr>
        <tr>
        <td>Amarillas media</td>
        <td>{{ta_local}}</td>
        <td>{{ta_visitante}}</td>
        </tr>
        <tr>
        <td>Rojas media</td>
        <td>{{tr_local}}</td>
        <td>{{tr_visitante}}</td>
        </tr>
        <tr>
        <td>Faltas Cometidas media</td>
        <td>{{fc_local}}</td>
        <td>{{fc_visitante}}</td>
        </tr>
        <tr>
        <td>Faltas Recibidas media</td>
        <td>{{fr_local}}</td>
        <td>{{fr_visitante}}</td>
        </tr>
    </tbody>
</table>

</div> 
</div>
{% endblock %}


