Translated Delete action via variable.
This commit is contained in:
		@@ -15,9 +15,9 @@
 | 
			
		||||
                <p class="LP-Paragraph">{% translate 'Are you sure you want to delete' %} "{{place.name}}"?</p>
 | 
			
		||||
            </div>
 | 
			
		||||
        </div>
 | 
			
		||||
 | 
			
		||||
        {% translate 'Delete' as action %}
 | 
			
		||||
        <div class="LP-Form__Composition LP-Form__Composition--buttons">
 | 
			
		||||
            {% include 'partials/form/submit.html' with referer=request.META.HTTP_REFERER action='Delete' %}
 | 
			
		||||
            {% include 'partials/form/submit.html' with referer=request.META.HTTP_REFERER action=action %}
 | 
			
		||||
        </div>
 | 
			
		||||
    </fieldset>
 | 
			
		||||
</form>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user