recherche responsable super cool
[auf_rh_dae.git] / project / templates / autocompleteselect.html
index 782d3a3..c9d9ab6 100644 (file)
@@ -26,12 +26,12 @@ jQuery(document).ready(function($){{% block script %}
         }
         $("#{{html_id}}_text").result(receiveResult);
         function addKiller_{{func_slug}}(repr,id) {
-                kill = "<span class='iconic' id='kill_{{ html_id }}'>X</span>   ";
+                kill = "<span class='iconic supprimer' id='kill_{{ html_id }}'>supprimer</span>   ";
                 if(repr){
                         $( "#{{html_id}}_on_deck" ).empty();
-                        $( "#{{html_id}}_on_deck" ).append( "<div>" + kill + repr + "</div>");
+                        $( "#{{html_id}}_on_deck" ).append( "<div><span>" + repr + "</span>" + kill + "</div>");
                 } else {
-                        $( "#{{html_id}}_on_deck > div" ).prepend(kill);
+                        $( "#{{html_id}}_on_deck > div" ).append(kill);
                 }
                 $("#kill_{{ html_id }}").click(function() { return function(){
                         kill_{{func_slug}}();