From 5647d641a27b1ebd9f9de4c8b6c452d80be0f4a2 Mon Sep 17 00:00:00 2001
From: Rasmus Larsson
Date: Sat, 9 Jul 2011 15:52:30 +0200
Subject: [PATCH] Updated spacings in code for better readability
---
mediagoblin/templates/mediagoblin/auth/login.html | 2 +-
mediagoblin/templates/mediagoblin/root.html | 8 ++++----
mediagoblin/views.py | 2 +-
3 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/mediagoblin/templates/mediagoblin/auth/login.html b/mediagoblin/templates/mediagoblin/auth/login.html
index ebf5200a..e25783ea 100644
--- a/mediagoblin/templates/mediagoblin/auth/login.html
+++ b/mediagoblin/templates/mediagoblin/auth/login.html
@@ -36,7 +36,7 @@
style="display: none;"/>
{% endif %}
{% if allow_registration %}
- Don't have an account yet?
Create one here!
+ Don't have an account yet?
Create one here!
{% endif %}
diff --git a/mediagoblin/templates/mediagoblin/root.html b/mediagoblin/templates/mediagoblin/root.html
index ad9aabcb..bae033c4 100644
--- a/mediagoblin/templates/mediagoblin/root.html
+++ b/mediagoblin/templates/mediagoblin/root.html
@@ -30,10 +30,10 @@
Login.
{% if allow_registration %}
-
- If you don't have an account, please
- Register.
-
+
+ If you don't have an account, please
+ Register.
+
{% endif %}
{% endif %}
diff --git a/mediagoblin/views.py b/mediagoblin/views.py
index 6145484b..e7d9dbdd 100644
--- a/mediagoblin/views.py
+++ b/mediagoblin/views.py
@@ -25,7 +25,7 @@ def root_view(request):
return render_to_response(
request, 'mediagoblin/root.html',
{'media_entries': media_entries,
- 'allow_registration': mg_globals.app_config["allow_registration"]})
+ 'allow_registration': mg_globals.app_config["allow_registration"]})
def simple_template_render(request):
--
2.25.1