Browse Source

Upper case should be valid in repo ID

Jakob Borg 11 years ago
parent
commit
9112ba8f0b
2 changed files with 1 additions and 1 deletions
  1. 0 0
      auto/gui.files.go
  2. 1 1
      gui/index.html

File diff suppressed because it is too large
+ 0 - 0
auto/gui.files.go


+ 1 - 1
gui/index.html

@@ -470,7 +470,7 @@ found in the LICENSE file.
               <div class="col-md-12">
                 <div class="form-group" ng-class="{'has-error': repoEditor.repoID.$invalid && repoEditor.repoID.$dirty}">
                   <label for="repoID">Repository ID</label>
-                  <input name="repoID" placeholder="documents" ng-disabled="editingExisting" id="repoID" class="form-control" type="text" ng-model="currentRepo.ID" required unique-repo ng-pattern="/^[a-zaZ0-9-_.]{1,64}$/"></input>
+                  <input name="repoID" placeholder="documents" ng-disabled="editingExisting" id="repoID" class="form-control" type="text" ng-model="currentRepo.ID" required unique-repo ng-pattern="/^[a-zA-Z0-9-_.]{1,64}$/"></input>
                   <p class="help-block">
                     <span ng-if="repoEditor.repoID.$valid || repoEditor.repoID.$pristine">Short identifier for the repository. Must be the same on all cluster nodes.</span>
                     <span ng-if="repoEditor.repoID.$error.uniqueRepo">The repository ID must be unique.</span>

Some files were not shown because too many files changed in this diff