mirror of
				https://gitlab.crans.org/bde/nk20
				synced 2025-11-04 09:12:11 +01:00 
			
		
		
		
	For a random reason, django filters templates are missing. Wtf?
This commit is contained in:
		
							
								
								
									
										5
									
								
								templates/django_filters/rest_framework/crispy_form.html
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								templates/django_filters/rest_framework/crispy_form.html
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,5 @@
 | 
			
		||||
{% load crispy_forms_tags %}
 | 
			
		||||
{% load i18n %}
 | 
			
		||||
 | 
			
		||||
<h2>{% trans "Field filters" %}</h2>
 | 
			
		||||
{% crispy filter.form %}
 | 
			
		||||
							
								
								
									
										6
									
								
								templates/django_filters/rest_framework/form.html
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								templates/django_filters/rest_framework/form.html
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,6 @@
 | 
			
		||||
{% load i18n %}
 | 
			
		||||
<h2>{% trans "Field filters" %}</h2>
 | 
			
		||||
<form class="form" action="" method="get">
 | 
			
		||||
    {{ filter.form.as_p }}
 | 
			
		||||
    <button type="submit" class="btn btn-primary">{% trans "Submit" %}</button>
 | 
			
		||||
</form>
 | 
			
		||||
							
								
								
									
										1
									
								
								templates/django_filters/widgets/multiwidget.html
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								templates/django_filters/widgets/multiwidget.html
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1 @@
 | 
			
		||||
{% for widget in widget.subwidgets %}{% include widget.template_name %}{% if forloop.first %}-{% endif %}{% endfor %}
 | 
			
		||||
		Reference in New Issue
	
	Block a user