<form method="post" enctype="multipart/form-data" action="<%|url(request)%>" data-update="reset">
	<input type="hidden" name="token" value="<%=token%>" />
	<input type="hidden" name="<%=id%>" value="1" />

	<div class="gluon-form" id="form-<%=id%>">
		<% if self.title and #self.title > 0 then %><h2 name="content"><%|self.title%></h2><% end %>
		<% if self.description and #self.description > 0 then %><div class="gluon-form-descr"><%=self.description%></div><% end %>
		<% self:render_children(renderer, scope) %>
	</div>
<%- if self.message then %>
	<div><%|self.message%></div>
<%- end %>
<%- if self.errmessage then %>
	<div class="error"><%|self.errmessage%></div>
<%- end %>
	<div class="gluon-page-actions">
	<%- if self.submit ~= false then %>
		<input class="gluon-button gluon-button-submit" type="submit" value="
			<%- if not self.submit then -%><%-:Save-%><%-else-%><%|self.submit%><%end-%>
		" />
	<% end %>
	<%- if self.reset ~= false then %>
		<input class="gluon-button gluon-button-reset" type="reset" value="
			<%- if not self.reset then -%><%-:Reset-%><%-else-%><%|self.reset%><%end-%>
		" />
	<% end %>
	</div>
</form>
