42 lines
1.1 KiB
HTML
42 lines
1.1 KiB
HTML
{% extends "base.html" %}
|
|
{% load i18n %}
|
|
{% block title %}{% trans "Edit Userprofile" %}{% endblock %}
|
|
{% block extra_head %}
|
|
<link rel="stylesheet" href="{{STATIC_URL}}css/jquery-ui-1.8.16.custom.css" type="text/css">
|
|
<script type="text/javascript" src="{{STATIC_URL}}js/jquery-ui-1.8.16.custom.min.js"></script>
|
|
{% endblock %}
|
|
|
|
{% block maincontent %}
|
|
<form method="post" action="" enctype="multipart/form-data" class="grid_12 clearfix">
|
|
<fieldset>
|
|
<legend>{% trans "Edit Userprofile" %}</legend>
|
|
{% csrf_token %}
|
|
{% include 'form.html' %}
|
|
<p class="buttonbar">
|
|
<button type="reset">
|
|
<img src="{{STATIC_URL}}icons/arrow_undo.png" alt="{% trans 'reset' %}" />
|
|
{% trans "Reset" %}
|
|
</button>
|
|
<button type="submit">
|
|
<img src="{{STATIC_URL}}icons/disk.png" alt="{% trans 'save' %}" />
|
|
{% trans "Save" %}
|
|
</button>
|
|
</p>
|
|
</fieldset>
|
|
</form>
|
|
{% endblock %}
|
|
|
|
{% block javascript %}
|
|
$(function() {
|
|
$( "#id_birthday" ).datepicker({
|
|
changeMonth: true,
|
|
changeYear: true,
|
|
dateFormat: 'yy-mm-dd',
|
|
yearRange: '-50,0',
|
|
firstDay: 1
|
|
});
|
|
});
|
|
{% endblock %}
|
|
|
|
{% block buttonbar %}{% endblock %}
|