Anfänglicher Commit: Producion Version Stand: Oktober 2014
This commit is contained in:
41
templates/membership/membership_form.html
Normal file
41
templates/membership/membership_form.html
Normal file
@@ -0,0 +1,41 @@
|
||||
{% 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 %}
|
||||
Reference in New Issue
Block a user