aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mediagoblin/static/js/show_password.js2
-rw-r--r--mediagoblin/templates/mediagoblin/utils/wtforms.html4
2 files changed, 3 insertions, 3 deletions
diff --git a/mediagoblin/static/js/show_password.js b/mediagoblin/static/js/show_password.js
index b3fbc862..12935124 100644
--- a/mediagoblin/static/js/show_password.js
+++ b/mediagoblin/static/js/show_password.js
@@ -18,7 +18,7 @@
$(document).ready(function(){
//Create a duplicate password field. We could change the input type dynamically, but this angers the IE gods (not just IE6).
- $("#password").after('<input type="text" value="" name="password_clear" id="password_clear" /><label><input type="checkbox" id="password_boolean" />Show password</label>');
+ $("#password").after('<input type="text" value="" name="password_clear" id="password_clear" style="width:100%" /><label><br/><input type="checkbox" id="password_boolean" />Show password</label>');
$('#password_clear').hide();
$('#password_boolean').click(function(){
if($('#password_boolean').prop("checked")) {
diff --git a/mediagoblin/templates/mediagoblin/utils/wtforms.html b/mediagoblin/templates/mediagoblin/utils/wtforms.html
index 7e16708c..e2921258 100644
--- a/mediagoblin/templates/mediagoblin/utils/wtforms.html
+++ b/mediagoblin/templates/mediagoblin/utils/wtforms.html
@@ -40,9 +40,9 @@
{{- render_label_p(field) }}
<div class="form_field_input">
{% if autofocus_first %}
- {{ field(autofocus=True) }}
+ {{ field(autofocus=True, style="width:100%;") }}
{% else %}
- {{ field }}
+ {{ field(style="width:100%;") }}
{% endif %}
{%- if field.errors -%}
{% for error in field.errors %}