From f097c72e12672b1ffaccdfb8d9be10d34e0cdc74 Mon Sep 17 00:00:00 2001 From: Loic Baron <loic.baron@lip6.fr> Date: Fri, 17 Apr 2015 11:10:23 +0200 Subject: [PATCH] max length 19 slice - 10 project --- portal/templates/fed4fire/fed4fire_projectrequest_view.html | 6 +++--- portal/templates/fed4fire/fed4fire_slicerequest_view.html | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/portal/templates/fed4fire/fed4fire_projectrequest_view.html b/portal/templates/fed4fire/fed4fire_projectrequest_view.html index ae0c1877..1da22fa6 100644 --- a/portal/templates/fed4fire/fed4fire_projectrequest_view.html +++ b/portal/templates/fed4fire/fed4fire_projectrequest_view.html @@ -47,17 +47,17 @@ <label> Please insert a name for your project under which you will be able to create slices <br /> <span class="sublabel"> - The project name should only contain letters, numbers and the underscore character "_" <br /> + The project name should only contain letters, numbers and the underscore "_" (10 max length)<br /> </span> </label> <div class="form-group"> - <input type="text" name="project_name" value="" style="width:100%;" title="The project name should not contain spaces but only letters, numbers and the underscore character" placeholder="Project name" required> + <input type="text" name="project_name" value="" class="form-control" maxlength="10" style="width:100%;" title="The project name should not contain spaces but only letters, numbers and the underscore character" placeholder="Project name" required> </div> <label> The authority under which your project will be managed <br /> <span class="sublabel"> - Before you can access your newly created project a manager of this authority should approve the request + Before you can access your project a manager of this authority should approve the request </span> </label> <div class="form-group"> diff --git a/portal/templates/fed4fire/fed4fire_slicerequest_view.html b/portal/templates/fed4fire/fed4fire_slicerequest_view.html index f52b1543..4f8546e5 100644 --- a/portal/templates/fed4fire/fed4fire_slicerequest_view.html +++ b/portal/templates/fed4fire/fed4fire_slicerequest_view.html @@ -31,10 +31,10 @@ <label> Please enter a name for your slice <br /> <span class="sublabel"> - The slice name should only contain letters, numbers and the underscore character "_" <br /> + The slice name should only contain letters, numbers and the underscore "_" (19 max length) <br /> </span> </label> - <input type="text" class="form-control" name="slice_name" id="slice_name" style="width:100%" placeholder="Slice name" value="{{slice_name}}" required="required"> + <input type="text" class="form-control" name="slice_name" id="slice_name" maxlength="19" style="width:100%" placeholder="Slice name" value="{{slice_name}}" required="required"> </div> <div class="form-group"> <label> -- 2.47.0