#set ($formName = $params.get("formName"))
#set ($submitAction = $params.get("submitAction"))
#set ($editAction = $params.get("editAction"))
#set ($formStyle = "aui $!params.get('formStyle')")
#set ($editMode = $params.get("editMode"))

#if($editMode == true)
    <form name="${formName}" method="POST" action="$submitAction" class="$formStyle">
#else
    <form name="${formName}" method="GET" action="$editAction" class="$formStyle">
#end

$body

</form>