diff --git a/nyaa/templates/_formhelpers.html b/nyaa/templates/_formhelpers.html index a73d366..71673d1 100644 --- a/nyaa/templates/_formhelpers.html +++ b/nyaa/templates/_formhelpers.html @@ -120,8 +120,12 @@
{% endif %} {{ field.label(class='control-label') }} - {{ field(title=field.description,**kwargs) | safe }} - +
+ {{ field(title=field.description, class_="form-control",**kwargs) | safe }} +
+ +
+
{% if field.errors %}
{% if field.errors|length < 2 %} diff --git a/nyaa/templates/user.html b/nyaa/templates/user.html index 587d24f..5bd567b 100644 --- a/nyaa/templates/user.html +++ b/nyaa/templates/user.html @@ -21,30 +21,35 @@ View all comments
-
-
User ID:
-
{{ user.id }}
-
Account created on:
-
{{ user.created_time.strftime('%Y-%m-%d %H:%M UTC') }}
-
Email address:
-
{{ user.email }}
-
User class:
-
{{ user.userlevel_str }}
-
User status:
-
{{ user.userstatus_str }} - {%- if g.user.is_superadmin -%} -
Last login IP:
-
{{ user.ip_string }}

- {%- endif -%} -
- {% if admin_form %} -
- {{ admin_form.csrf_token }} - -
- {{ render_menu_with_button(admin_form.user_class) }} +
+
+
+
User ID:
+
{{ user.id }}
+
Account created on:
+
{{ user.created_time.strftime('%Y-%m-%d %H:%M UTC') }}
+
Email address:
+
{{ user.email }}
+
User class:
+
{{ user.userlevel_str }}
+
User status:
+
{{ user.userstatus_str }} + {%- if g.user.is_superadmin -%} +
Last login IP:
+
{{ user.ip_string }}

+ {%- endif -%} +
- +
+ {% if admin_form %} +
+
+
+ {{ admin_form.csrf_token }} + {{ render_menu_with_button(admin_form.user_class) }} +
+
+

{% endif %}