From de57ecde6a27abca30c4ad5cbda0a235d48fb50b Mon Sep 17 00:00:00 2001
From: Guillaume Rousse <guillaume.rousse@renater.fr>
Date: Thu, 22 Feb 2018 15:13:36 +0100
Subject: [PATCH] add empty option to start with empty field

---
 templates/web/en/select_sp.tt2.html | 1 +
 templates/web/fr/select_sp.tt2.html | 1 +
 2 files changed, 2 insertions(+)

diff --git a/templates/web/en/select_sp.tt2.html b/templates/web/en/select_sp.tt2.html
index 2036b32..c95b243 100644
--- a/templates/web/en/select_sp.tt2.html
+++ b/templates/web/en/select_sp.tt2.html
@@ -107,6 +107,7 @@ $(function() {
         <label for="entityid">Type the name or entityID of Service Provider to test:</label>
         <br>
         <select id="entityid" name="entityid" class="required">
+            <option value=""></option>
             [% FOREACH entity IN metadata.sort('display_name') %]
             <option value="[% entity.entityid %]">[% IF entity.display_name %][% entity.display_name %] [% END %]([% entity.entityid %])</option>
             [% END %]
diff --git a/templates/web/fr/select_sp.tt2.html b/templates/web/fr/select_sp.tt2.html
index f8653d5..4817de2 100644
--- a/templates/web/fr/select_sp.tt2.html
+++ b/templates/web/fr/select_sp.tt2.html
@@ -107,6 +107,7 @@ $(function() {
         <label for="entityid">Entrez le nom ou l'identifiant (entityID) du fournisseur de service à tester:</label>
         <br>
         <select id="entityid" name="entityid" class="required">
+            <option value=""></option>
             [% FOREACH entity IN metadata.sort('display_name') %]
             <option value="[% entity.entityid %]">[% IF entity.display_name %][% entity.display_name %] [% END %]([% entity.entityid %])</option>
             [% END %]
-- 
GitLab