Commit 23751c1d authored by Francesc Guasch's avatar Francesc Guasch
Browse files

[#188] added the message to the user and show ISO description

parent 2b04e607
......@@ -18,7 +18,7 @@
<div class="col-lg-11">
<input class="form-control" ng-model="name" type="text"
name="name" required=""
ng-pattern ="/^[a-zA-Z0-9]+$/"
ng-pattern ="/^[a-zA-Z0-9_.-]+$/"
......@@ -44,7 +44,7 @@
ng-options=" for item in images track by"
<div ng-show=" && !id_iso.device">
<font color="#500000">This ISO image has not
been already
......@@ -123,6 +123,10 @@
<div ng-show="name_duplicated" class="alert alert-warning fade in">
<strong>Error</strong> A machine with that name already exists.
<div ng-show="$error.pattern" class="alert alert-warning fade in">
<strong>Error</strong> The machine name must contain only alphabetic, numbers, dashes and points.
<div class="form-group row">
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment