<%~if errors.length%><%set error_loop = $errors%><%endif%>
<%~if success or success_loop.length%>
<%~if success starts '- '%>
<%success%>
<%~elsif success%>
- <%success%>
<%~endif%>
<%~loop success_loop%>
- <%loop_value%>
<%~endloop%>
<%~endif%>
<%~if error or error_loop.length%>
<%~if error starts '- '%>
<%error%>
<%~elsif error%>
- <%error%>
<%~endif%>
<%~loop error_loop%>
- <%loop_value.error || $loop_value%>
<%-- error_loop values containing an 'error' key are used by GForum in some places, which were implemented before loop_value existed --%>
<%~endloop%>
<%~endif%>
<%include include_forum_rules.html%>