{% extends "GameScoreBundle::layout.html.twig" %}

{% block title %}
    Joueur : [{{ player.getId() }}] - {{ parent() }}
{% endblock %}

{% block mainsection %}
    <section class="col-md-12">
        <h2><i class="fa fa-address-card" aria-hidden="true"></i> {{ player.firstname ~ ' ' ~ player.lastname }}
            {% if player.star %}
                &nbsp;&nbsp;&#9733;
            {% endif %}
            <span class="pull-right">
                <a href="{{ path('game_score_player_update', {'id':player.id}) }}">
                    <span class="glyphicon glyphicon-pencil"></span>
                </a>
            </span>
        </h2>
        {% include 'GameScoreBundle:Play:totalPlayedGamesIncluded.html.twig' with {'totalPlayedGames' : totalPlayedGames } %}
        {% include 'GameScoreBundle:Play:playedGamesIncluded.html.twig' with {'plays' : plays } %}
    </section>
{% endblock %}
{% extends "GameScoreBundle::layout.html.twig" %}

{% block title %}
    Joueur : [{{ player.getId() }}] - {{ parent() }}
{% endblock %}

{% block mainsection %}
    <section class="col-md-12">
        <h2><i class="fa fa-address-card" aria-hidden="true"></i> {{ player.firstname ~ ' ' ~ player.lastname }}
            {% if player.star %}
                &nbsp;&nbsp;&#9733;
            {% endif %}
            <span class="pull-right">
                <a class="btn btn-warning"
                   href="{{ path('game_score_player_update', { 'id':player.id }) }}">{{ 'update'|trans|capitalize }}</a>
            </span>
        </h2>
        {% include 'GameScoreBundle:Play:totalPlayedGamesIncluded.html.twig' with {'totalPlayedGames' : totalPlayedGames } %}
        {% include 'GameScoreBundle:Play:playedGamesIncluded.html.twig' with {'plays' : plays } %}
    </section>
{% endblock %}
Update : use of btn class for update in players view
Update : use of btn class for update in players view
