{% for c in career %}
    <div class="row row-career">
        <div class="col s12">
                <span class="titleCompanyCareer">{{c.companyCareer}}</span>
                {% if edit is defined %}
                <span class="right">
                    <a class="edit-career" data-index="{{ loop.index - 1 }}">
                        <i class="fa fa-pencil" aria-hidden="true"></i>
                    </a>
                </span>
                {% endif %}
        </div>
        <div class="col s12">
            <span class="titleJobCareer">{{c.jobCareer}}</span>
        </div>
        <div class="col s12 titleDateCareer">
            {% if c.beginMonthCareer is defined %}
            {% set fullDate = '2018-' ~ c.beginMonthCareer ~ '-01' %}
                {% if c.beginMonthCareer matches '/^\\d+$/' %}
                <span>{{ fullDate|datetime  }} {{ c.beginYearCareer }}</span>
                {% endif %}
            {% endif %}
            <span>-
                {% if c.actualJobCareer is defined and c.actualJobCareer == true %}
                Aujourd'hui{% else %} {% set fullDateEnd = '2018-' ~ c.endMonthCareer ~ '-01' %} {% if c.endMonthCareer matches '/^\\d+$/' %}{{ fullDateEnd|datetime  }}{% endif %} {{ c.endYearCareer }}{% endif %}, {{ c.placeCareer }}
            </span>
        </div>
        <div class="col s12">
            <span class="titleDescriptionCareer">{{c.descriptionCareer|nl2br}}</span>
        </div>
        <div class="col s12">
            <div class="keywords">
                    {% if c.tagsComma %}
                        {% for keyword in c.tagsComma|split(',') %}
                        <div class="chip">
                            {{ keyword }}
                        </div>
                        {% endfor %}
                    {% endif %}
                </div>
            <hr />
        </div>
    </div>
{% endfor %}