Initial work on custom fields

This commit is contained in:
Jeremy Stretch
2016-08-12 17:20:01 -04:00
parent bf1b8ab9b8
commit 550a05487d
8 changed files with 248 additions and 2 deletions

View File

@@ -14,6 +14,16 @@ def render_field(field):
}
@register.inclusion_tag('utilities/render_custom_fields.html')
def render_custom_fields(form):
"""
Render all custom fields in a form
"""
return {
'form': form,
}
@register.inclusion_tag('utilities/render_form.html')
def render_form(form):
"""