1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2024-12-25 23:55:24 +00:00

Update computers.html

Expand pattern for Label
This commit is contained in:
savichev 2015-07-15 16:41:11 +05:00
parent b819b91d19
commit a2235f7fde

View file

@ -63,7 +63,7 @@
<label class="col-sm-4 control-label">{% trans "Label" %}</label> <label class="col-sm-4 control-label">{% trans "Label" %}</label>
<div class="col-sm-6"> <div class="col-sm-6">
<input type="hidden" name="host_id" value="{{ compute.id }}"> <input type="hidden" name="host_id" value="{{ compute.id }}">
<input type="text" name="name" class="form-control" value="{{ compute.name }}" maxlength="20" required pattern="[a-z0-9\.\-_]+"> <input type="text" name="name" class="form-control" value="{{ compute.name }}" maxlength="20" required pattern="[a-zA-Z0-9\.\-_]+">
</div> </div>
</div> </div>
<div class="form-group"> <div class="form-group">