Merge branch 'master' of github.com:kivitendo/kivitendo-erp
[kivitendo-erp.git] / templates / webpages / admin / edit_user.html
index b8b5dc4..5ecd926 100644 (file)
@@ -5,8 +5,6 @@
 
 <h1>[% HTML.escape(title) %]</h1>
 
-<p>[% L.link(SELF.url_for(action="show"), LxERP.t8("Back")) %]</p>
-
 <form method="post" action="controller.pl" id="form">
  [% L.hidden_tag("user.id", SELF.user.id) %]
  [% L.hidden_tag("action", "") %]
   }
 
   function save_as_new() {
-    var new_user_login = prompt("[% LxERP.t8("Please enter the login for the new user.") %]", "");
-    if (!new_user_login)
-      return;
-
-    $("#user_login").val(new_user_login);
     $("#user_id").val("");
-    submit_with_action("save_user");
+    submit_with_action("save_newuser");
   }
    -->
 </script>