Skip to content
Snippets Groups Projects
Commit de57ecde authored by Guillaume ROUSSE's avatar Guillaume ROUSSE
Browse files

add empty option to start with empty field

parent 349efe4f
No related branches found
No related tags found
No related merge requests found
...@@ -107,6 +107,7 @@ $(function() { ...@@ -107,6 +107,7 @@ $(function() {
<label for="entityid">Type the name or entityID of Service Provider to test:</label> <label for="entityid">Type the name or entityID of Service Provider to test:</label>
<br> <br>
<select id="entityid" name="entityid" class="required"> <select id="entityid" name="entityid" class="required">
<option value=""></option>
[% FOREACH entity IN metadata.sort('display_name') %] [% FOREACH entity IN metadata.sort('display_name') %]
<option value="[% entity.entityid %]">[% IF entity.display_name %][% entity.display_name %] [% END %]([% entity.entityid %])</option> <option value="[% entity.entityid %]">[% IF entity.display_name %][% entity.display_name %] [% END %]([% entity.entityid %])</option>
[% END %] [% END %]
......
...@@ -107,6 +107,7 @@ $(function() { ...@@ -107,6 +107,7 @@ $(function() {
<label for="entityid">Entrez le nom ou l'identifiant (entityID) du fournisseur de service à tester:</label> <label for="entityid">Entrez le nom ou l'identifiant (entityID) du fournisseur de service à tester:</label>
<br> <br>
<select id="entityid" name="entityid" class="required"> <select id="entityid" name="entityid" class="required">
<option value=""></option>
[% FOREACH entity IN metadata.sort('display_name') %] [% FOREACH entity IN metadata.sort('display_name') %]
<option value="[% entity.entityid %]">[% IF entity.display_name %][% entity.display_name %] [% END %]([% entity.entityid %])</option> <option value="[% entity.entityid %]">[% IF entity.display_name %][% entity.display_name %] [% END %]([% entity.entityid %])</option>
[% END %] [% END %]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment