Move old member add form to a separate page
[hcoop/zz_old/portal.git] / users.mlt
index b192d19..f7de949 100644 (file)
--- a/users.mlt
+++ b/users.mlt
@@ -74,9 +74,8 @@ elseif $"mod" <> "" then
        Init.grandfatherUsers()
        %><h3>Grandfathered</h3>
 
-<% end %>
-
-<% if showNormal then %>
+<% elseif $"cmd" = "addform" then
+        showNormal := false %>        
 <h3>New member</h3>
 
 <form action="users" method="post">
@@ -101,6 +100,12 @@ elseif $"mod" <> "" then
 </table>
 </form>
 
+<% end %>
+
+<% if showNormal then %>
+
+<a href="users?cmd=addform">Add a user manually</a><br>
+
 <h3>Manage current members</h3>
 
 <table>