## -*- coding: utf-8 -*- ## TODO: This function signature is getting out of hand... <%def name="autocomplete(field_name, service_url, field_value=None, field_display=None, width='300px', select=None, selected=None, cleared=None, change_clicked=None, options={})">
${h.hidden(field_name, id=field_name, value=field_value)} ${h.text(field_name+'-textbox', id=field_name+'-textbox', value=field_display, class_='autocomplete-textbox', style='display: none;' if field_value else '')}