{% load i18n %}
<header id="resume-header" class="clearfix">
  <section id="resume-intro">
    <h2>{{ profile.first_name }} {{ profile.last_name }} - <small>{{ profile.headline }}</small></h2>
    <pre>{{ profile.introduction }}</pre>
  </section>
  {% if profile.has_picture %}<section id="resume-picture">
    <img src="{{ profile.picture_large }}" />
  </section>{% endif %}
</header>

<section id="experience">
  <h3>{% trans "Work Experience" %}</h3>
  <div class="line"></div>
  {% for exp in profile.career.data %}
  <h4>{{ exp.begin }} {% trans "to" %} {{ exp.end }} - {{ exp.company_name }} - <small>{{ exp.position }}</small></h4>
  <p><pre>{{ exp.description }}</pre></p>
  {% endfor %}
</section>

<section id="formation">
  <h3>{% trans "Education" %}</h3>
  <div class="line"></div>
  <table>
    {% for exp in educations.data %}<tr>
      <td>{{ exp.begin }}-{{ exp.end }}</td>
      <td><strong>{{ exp.school.name }}</strong></td>
    </tr>
    <tr>
      <td></td><td>{{ exp.degree }}</td>
    </tr>{% endfor %}
  </table>
</section>
