{% extends "themes/"|add:settings.page_theme|add:"/base.html" %}
{% load i18n %}

{% block content %}
  <form action="" method="post">
    {% csrf_token %}
    {% include 'users/profile_formdata.html' %}
    <h1>{% trans "Xnail-Size" %}</h1>
    <p><label for="id_thumbnail">{% trans "Thumbnail Size" %}:</label>
    <select name="thumbnail_size" id="id_thumbnail">
      {% for size in THUMBNAIL_SIZES %}
        <option value="{{ size }}"{% if size == thumbnail_size %} selected{% endif %}>{{ size }}</option>
      {% endfor %}
    </select>

    <p><label for="id_webnail">{% trans "Webnail Size" %}:</label>
    <select name="webnail_size" id="id_webnail">
      {% for size in WEBNAIL_SIZES %}
        <option value="{{ size }}"{% if size == webnail_size %} selected{% endif %}>{{ size }}</option>
      {% endfor %}
    </select>

    <input type="submit" value="{% trans "Save" %}" class="button" />
  </form>

{% endblock content %}
