Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Fix pep8 formatting errors

Roland Geider4f75fd943ad2
diff --git a/wger/manager/templatetags/wger_extras.py b/wger/manager/templatetags/wger_extras.py
index 1c66d7fbb..968ab8411 100644
--- a/wger/manager/templatetags/wger_extras.py
+++ b/wger/manager/templatetags/wger_extras.py
@@ -85,6 +85,7 @@ def render_weight_log(log, div_uuid):
return {'log': log,
'div_uuid': div_uuid}
+
@register.inclusion_tag('tags/license-sidebar.html')
def license_sidebar(license, author=None):
'''
@@ -113,6 +114,7 @@ def get_item(dictionary, key):
'''
return dictionary.get(key)
+
#
# Form utils
#
@@ -136,7 +138,6 @@ def is_checkbox(field):
return field.field.widget.__class__.__name__ == CheckboxInput().__class__.__name__
-
@register.inclusion_tag('tags/render_form_element.html')
def render_form_field(field):
'''