diff --git a/src/main/scala/app/AccountController.scala b/src/main/scala/app/AccountController.scala index 4cd9785..f89cb74 100644 --- a/src/main/scala/app/AccountController.scala +++ b/src/main/scala/app/AccountController.scala @@ -247,7 +247,7 @@ * Show the new repository form. */ get("/new")(usersOnly { - html.newrepo(getGroupsByUserName(context.loginAccount.get.userName)) + account.html.newrepo(getGroupsByUserName(context.loginAccount.get.userName)) }) /** diff --git a/src/main/twirl/account/newrepo.scala.html b/src/main/twirl/account/newrepo.scala.html new file mode 100644 index 0000000..b5f6c6a --- /dev/null +++ b/src/main/twirl/account/newrepo.scala.html @@ -0,0 +1,73 @@ +@(groupNames: List[String])(implicit context: app.Context) +@import context._ +@import view.helpers._ +@html.main("Create a New Repository"){ +
+
+
+ +
+ + + +
+ / + + +
+
+ + +
+
+ +
+
+ +
+
+ +
+
+ +
+
+
+} + diff --git a/src/main/twirl/newrepo.scala.html b/src/main/twirl/newrepo.scala.html deleted file mode 100644 index 05fefbc..0000000 --- a/src/main/twirl/newrepo.scala.html +++ /dev/null @@ -1,73 +0,0 @@ -@(groupNames: List[String])(implicit context: app.Context) -@import context._ -@import view.helpers._ -@main("Create a New Repository"){ -
-
-
- -
- - - -
- / - - -
-
- - -
-
- -
-
- -
-
- -
-
- -
-
-
-} -