* extends KonovaCode filtering for parent objects matching given input * renames data_form into form for easier template render support * simplifies empty geometry form initialization
		
			
				
	
	
		
			11 lines
		
	
	
		
			309 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
		
			309 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
{% load i18n %}
 | 
						|
 | 
						|
{% comment %}
 | 
						|
    Encapsules the rendering and initializing of a geometry view component, e.g. used in the detail views.
 | 
						|
{% endcomment %}
 | 
						|
 | 
						|
{% if geom_form.empty %}
 | 
						|
    <div class="alert alert-info">{% trans 'No geometry added, yet.' %}</div>
 | 
						|
{% endif %}
 | 
						|
{{geom_form.media}}
 | 
						|
{{geom_form.geom}} |