{% extends 'base.html.twig' %} {% block title %} {% trans %}Edit your profile picture{% endtrans %} {% endblock %} {% block body %} {% for flashError in app.flashes('error') %} {{ flashError }} × {% endfor %} {% for flashError in app.flashes('success') %} {{ flashError }} × {% endfor %} {% trans %}Edit your profile picture{% endtrans %} {% trans %}Preferably choose a passport-type photo, without sunglasses and without anyone next to you.{% endtrans %} {{ form_start(pictureForm, {'attr': {'id': 'picture_form'}}) }} {# #} {{ form_widget(pictureForm.picture, { 'attr': { 'class' : 'file-upload-input1', 'type' : 'file', 'name' : 'country', 'accept' : 'image/*', 'onchange' : 'previewProfile()' }}) }} {% trans %}Choose a picture{% endtrans %} {# #} {% include '_partials/continue_button.html.twig' %} {{ form_end(pictureForm) }} {% endblock %} {% block javascripts %} {{ parent() }} { {% endblock %}