mirror of
				https://gitlab.com/animath/si/plateforme.git
				synced 2025-11-04 01:32:05 +01:00 
			
		
		
		
	Clone Corres2math platform
This commit is contained in:
		
							
								
								
									
										9
									
								
								tfjm/templates/autocomplete_model.html
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								tfjm/templates/autocomplete_model.html
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,9 @@
 | 
			
		||||
<input type="hidden" name="{{ widget.name }}" {% if widget.attrs.model_pk %}value="{{ widget.attrs.model_pk }}"{% endif %} id="{{ widget.attrs.id }}_pk">
 | 
			
		||||
<input type="text"
 | 
			
		||||
   {% if widget.value != None and widget.value != "" %}value="{{ widget.value }}"{% endif %}
 | 
			
		||||
   name="{{ widget.name }}_name" autocomplete="off"
 | 
			
		||||
    {% for name, value in widget.attrs.items %}
 | 
			
		||||
        {% ifnotequal value False %}{{ name }}{% ifnotequal value True %}="{{ value|stringformat:'s' }}"{% endifnotequal %}{% endifnotequal %}
 | 
			
		||||
    {% endfor %}>
 | 
			
		||||
<ul class="list-group list-group-flush" id="{{ widget.attrs.id }}_list">
 | 
			
		||||
</ul>
 | 
			
		||||
		Reference in New Issue
	
	Block a user