James Moger
2013-09-27 b325021c4e3168ef77bf3eb28be1d4c834595de8
src/main/java/com/gitblit/wicket/pages/EditRepositoryPage.java
@@ -86,7 +86,7 @@
      super();
      isCreate = true;
      RepositoryModel model = new RepositoryModel();
      String restriction = GitBlit.getString(Keys.git.defaultAccessRestriction, null);
      String restriction = GitBlit.getString(Keys.git.defaultAccessRestriction, "PUSH");
      model.accessRestriction = AccessRestrictionType.fromName(restriction);
      String authorization = GitBlit.getString(Keys.git.defaultAuthorizationControl, null);
      model.authorizationControl = AuthorizationControl.fromName(authorization);
@@ -418,7 +418,7 @@
      form.add(ownersPalette);
      form.add(new CheckBox("allowForks").setEnabled(GitBlit.getBoolean(Keys.web.allowForking, true)));
      DropDownChoice<AccessRestrictionType> accessRestriction = new DropDownChoice<AccessRestrictionType>("accessRestriction",
            AccessRestrictionType.choices(GitBlit.getBoolean(Keys.git.allowAnonymousPushes, true)), new AccessRestrictionRenderer());
            AccessRestrictionType.choices(GitBlit.getBoolean(Keys.git.allowAnonymousPushes, false)), new AccessRestrictionRenderer());
      form.add(accessRestriction);
      form.add(new CheckBox("isFrozen"));
      // TODO enable origin definition