Add checking for localhost in hostname fields.

This commit is contained in:
Joseph Schorr 2015-01-15 14:36:05 -05:00
parent cc453e7d10
commit 3a3945779d
3 changed files with 25 additions and 6 deletions

View file

@ -3,5 +3,8 @@
<input type="text" class="form-control" placeholder="{{ placeholder || '' }}"
ng-model="binding" ng-trim="false" ng-minlength="1"
ng-pattern="getRegexp(pattern)" required>
<div class="alert alert-danger" ng-show="errorMessage">
{{ errorMessage }}
</div>
</form>
</div>