* adds creation of new compensation directly from intervention detail view * adds comment rendering on compensation detail view (WIP) * adds shared_access_required decorator * adds/updates translations
		
			
				
	
	
		
			13 lines
		
	
	
		
			348 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			348 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="w-100">
 | 
						|
        <div class="alert alert-info">{% trans 'No geometry added, yet.' %}</div>
 | 
						|
    </div>
 | 
						|
{% endif %}
 | 
						|
{{geom_form.media}}
 | 
						|
{{geom_form.geom}} |