profile_form.html 1.06 KB
Newer Older
1 2 3
{% extends "dashboard/base.html" %}
{% load i18n %}
{% load crispy_forms_tags %} 
4 5 6

{% block title-page %}{% trans "Profile" %}{% endblock %}

7 8 9 10 11 12 13 14 15 16
{% block content %}

<div class="row">
  <div class="col-md-12">
    <div class="panel panel-default">
      <div class="panel-heading">
        <a class="pull-right btn btn-default btn-xs" href="{% url "dashboard.index" %}">{% trans "Back" %}</a>
        <h3 class="no-margin"><i class="icon-desktop"></i> {% trans "My profile" %}</h3>
      </div>
      <div class="panel-body">
17 18 19 20 21 22 23 24 25 26 27 28 29 30
        <div class="row">
          <div class="col-sm-4" style="margin-bottom: 50px;">
            <fieldset>
              <legend>{% trans "Password change" %}</legend>
              {% crispy forms.change_password %}
            </fieldset>
          </div>
          <div class="col-sm-offset-5 col-sm-3">
            <fieldset>
              <legend>{% trans "Language selection" %}</legend>
              {% crispy forms.change_language %}
            </fieldset>
          </div>
        </div>
31 32 33 34 35 36
      </div>
    </div>
  </div>
</div>

{% endblock %}