{% extends "base.html" %} {% from 'includes/common_macros.html' import newsletter_widget, li_field %} {% set accounts = social_accounts(profile.user) %} {% block body_attributes %}{% endblock %} {% block bodyclass %}profile profile-edit{% endblock %} {% block title %}{{ page_title(_('Edit Your Profile')) }}{% endblock %} {% block site_css %} {{ super() }} {{ css('demostudio') }} {{ css('jquery-ui') }} {{ css('profile') }} {{ css('newsletter') }} {{ css('submission') }} {% endblock %} {% block site_js %} {{ super() }} {{ js('jquery-ui') }} {{ js('demostudio') }} {{ js('libs/tagit') }} {{ js('profile') }} {{ js('newsletter',) }} {% endblock %} {% block content %}
{{ csrf() }}
{{ profile.user.username }}
{{ _('Change your avatar at') }} gravatar.com

{{ profile.user.username }}

{% include 'socialaccount/snippets/login_service_icon.html' %}
  • {{ profile_form.beta }}

    {{ _('We\'d love to have your feedback on site changes! Beta testers get access to new features first and we send the occasional email asking for help testing specific things.') }}

  • {{ profile.user.email }} {{ _('Edit email') }}
  • {{ li_field(profile_form, 'fullname') }} {{ li_field(profile_form, 'title') }} {{ li_field(profile_form, 'organization') }} {{ li_field(profile_form, 'location') }} {{ li_field(profile_form, 'locale') }} {{ li_field(profile_form, 'timezone') }} {{ li_field(profile_form, 'irc_nickname') }}
  • {{ profile_form.bio }} {{ profile_form.bio.errors }}
  • {{ _('Separate tags with commas or spaces. Join multi-word tags with double quotes, like "web standards".') }}

    {{ profile_form.interests }} {{ profile_form.interests.errors }}
  • {{ _('Add your interests first, then declare yourself an expert in selected topics.') }}

    {{ profile_form.expertise }} {{ profile_form.expertise.errors }}
{{ _('My Profiles') }}
  • {% if accounts.persona %} {{ _('Change') }} {% else %} {{ _('Use your Persona account to sign in.') }} {% endif %}
  • {% for site_name, site_meta in profile.website_choices %} {% if site_name == 'github' %}
  • {% if accounts.github and waffle.flag('github_login') %} {{ _('Change') }} {% else %} {% if waffle.flag('github_login') %} {{ _('Use your GitHub account to sign in.') }} {% endif %} {{ profile_form.websites_github }} {% endif %}
  • {% else %} {{ li_field(profile_form, 'websites_{name}' | f(name=site_name), classes='site {name}' | f(name=site_name), label=site_meta.label, icon_class=site_meta.fa_icon) }} {% endif %} {% endfor %}
{{ newsletter_widget(newsletter_form) }}

{% endblock %} {% block js %} {% endblock %}