equal
deleted
inserted
replaced
31 </td> |
31 </td> |
32 {% endblock %} |
32 {% endblock %} |
33 <td> |
33 <td> |
34 {% if select_url %} |
34 {% if select_url %} |
35 <script type="text/javascript"> |
35 <script type="text/javascript"> |
36 $.getJSON("{{ select_url }}", |
36 $.getJSON("{{ select_url|safe }}", |
37 function(data){ |
37 function(data){ |
38 $("#{{ field_id }}").autocomplete(data.data, { |
38 $("#{{ field_id }}").autocomplete(data.data, { |
39 matchContains: true, |
39 matchContains: true, |
40 formatItem: function(item) { |
40 formatItem: function(item) { |
41 return item.link_id+" ("+item.name+")"; |
41 return item.link_id+" ("+item.name+")"; |