aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/templates
diff options
context:
space:
mode:
authorMark Holmquist <mtraceur@member.fsf.org>2012-11-10 16:59:37 -0800
committerSebastian Spaeth <Sebastian@SSpaeth.de>2013-01-17 21:34:04 +0100
commitdc4dfbde350fdd9eac50448e42f2c8b209dd6ea8 (patch)
treee46b401ad1cfb2aab400658491ed2975f23ff61a /mediagoblin/templates
parent49745d5138540af8f7cbce318767172f4c560881 (diff)
downloadmediagoblin-dc4dfbde350fdd9eac50448e42f2c8b209dd6ea8.tar.lz
mediagoblin-dc4dfbde350fdd9eac50448e42f2c8b209dd6ea8.tar.xz
mediagoblin-dc4dfbde350fdd9eac50448e42f2c8b209dd6ea8.zip
Add a license preference field
This feature is absolutely necessary. Now a user can simply define their default license and quickly go through a form, as opposed to stopping to click on the select and choosing the same option over and over again. Also added DB migration for the field, so that's working now, too. Rebased by Sebastian and made the default value to be unicode. Reviewed-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
Diffstat (limited to 'mediagoblin/templates')
-rw-r--r--mediagoblin/templates/mediagoblin/edit/edit_account.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/mediagoblin/templates/mediagoblin/edit/edit_account.html b/mediagoblin/templates/mediagoblin/edit/edit_account.html
index cfeb7281..89f559af 100644
--- a/mediagoblin/templates/mediagoblin/edit/edit_account.html
+++ b/mediagoblin/templates/mediagoblin/edit/edit_account.html
@@ -47,6 +47,10 @@
<p>{{ form.wants_comment_notification }}
{{ form.wants_comment_notification.label }}</p>
</div>
+ <div class="form_field_input">
+ <p>{{ form.license_preference }}
+ {{ form.license_preference.label }}</p>
+ </div>
<div class="form_submit_buttons">
<input type="submit" value="{% trans %}Save changes{% endtrans %}" class="button_form" />
{{ csrf_token }}