mirror of
https://github.com/retspen/webvirtcloud
synced 2024-12-25 15:45:23 +00:00
Update computers.html
Expand pattern for Label
This commit is contained in:
parent
b819b91d19
commit
a2235f7fde
1 changed files with 2 additions and 2 deletions
|
@ -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">
|
||||||
|
@ -218,4 +218,4 @@
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
Loading…
Reference in a new issue