James Moger
2013-09-30 235ad956fa84cad4fac1b2e69a0c9e4f50376ea3
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);
@@ -417,8 +417,8 @@
      form.add(new TextField<String>("description"));
      form.add(ownersPalette);
      form.add(new CheckBox("allowForks").setEnabled(GitBlit.getBoolean(Keys.web.allowForking, true)));
      DropDownChoice<AccessRestrictionType> accessRestriction = new DropDownChoice<AccessRestrictionType>("accessRestriction", Arrays
            .asList(AccessRestrictionType.values()), new AccessRestrictionRenderer());
      DropDownChoice<AccessRestrictionType> accessRestriction = new DropDownChoice<AccessRestrictionType>("accessRestriction",
            AccessRestrictionType.choices(GitBlit.getBoolean(Keys.git.allowAnonymousPushes, false)), new AccessRestrictionRenderer());
      form.add(accessRestriction);
      form.add(new CheckBox("isFrozen"));
      // TODO enable origin definition