- Fix error messages in new org creation

- Add the org name regex to the name field
This commit is contained in:
Joseph Schorr 2014-07-09 13:35:59 -04:00
parent edf23e8b87
commit c7cc3f72f8
2 changed files with 2 additions and 2 deletions

View file

@ -54,7 +54,7 @@
<label for="orgName">Organization Name</label>
<input id="orgName" name="orgName" type="text" class="form-control" placeholder="Organization Name"
ng-model="org.name" required autofocus data-trigger="manual" data-content="{{ createError }}"
data-placement="right" data-container="body">
data-placement="right" data-container="body" ng-pattern="/^[a-z0-9_]{4,30}$/">
<span class="description">This will also be the namespace for your repositories</span>
</div>