{% load i18n static %}
<div>
  <form method="post" id="csam-login">
      <p>
      {% if itsme %}
          <img src="{{ portal_url }}/static/imio/images/beid-itsme.png" alt="Image du service de connexion itsme" style="cursor: pointer;" />
      {% else %}
          <img src="{% static "authentic2_auth_fedict/img/beid_image_mini.png" %}" style="cursor: pointer;" alt="Image de carte d'identité belge" />
      {% endif %}
      </p>
      <input type="submit" name="{{ submit_name }}" value="{% trans "Login" %}"/>
  </form>
  <script>
    $(function() {
      $('#csam-login img').on('click', function() {
        $('#csam-login input').click();
      });
    });
  </script>
</div>
