edit_profile.html: Consistency in the width of input fields
The width of all the input fields in user profile edit form (also forms which wtforms render div function) is 100% Fixes #996 Signed-off-by: Andrew Browning <ayleph@thisshitistemp.com>
This commit is contained in:
parent
df2de8e2d1
commit
96f66a5fd4
@ -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")) {
|
||||
|
@ -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 %}
|
||||
|
Loading…
x
Reference in New Issue
Block a user