def render_form(form, exclude=None, **kwargs):
	"""Render an entire form with Semantic UI wrappers for each field
	
	Args:
		form (form): Django Form
		exclude (string): exclude fields by name, separated by commas
		kwargs (dict): other attributes will be passed to fields
	
	Returns:
		string: HTML of Django Form fields with Semantic UI wrappers
	"""
	if hasattr(form, "Meta") and hasattr(form.Meta, "layout"):
		return render_layout_form(form, getattr(form.Meta, "layout"), **kwargs)

	if exclude:
		exclude = exclude.split(",")
		for field in exclude:
			form.fields.pop(field)

	return mark_safe("".join([
		render_field(field, **kwargs) for field in form
	]))