1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2024-12-24 23:25: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>
<div class="col-sm-6">
<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 class="form-group">
@ -218,4 +218,4 @@
</div>
{% endif %}
</div>
{% endblock %}
{% endblock %}