Delte Form hybsched
This commit is contained in:
		@@ -9,15 +9,22 @@
 | 
			
		||||
    <fieldset class="LP-Form__Fieldset">
 | 
			
		||||
        <legend class="LP-Form__Legend">Place löschen</legend>
 | 
			
		||||
        {% csrf_token %}
 | 
			
		||||
        <div class="LP-Form__Composition LP-Form__Composition--breakable">
 | 
			
		||||
            <p class="LP-Paragraph">Are you sure you want to delete "{{place.name}}"?</p>
 | 
			
		||||
            <div class="LP-Form__Composition">
 | 
			
		||||
                <a href="{% url 'place_detail' pk=place.pk %}">
 | 
			
		||||
                    <button type="button" class="LP-Button LP-Button--cancel">Cancel</button>
 | 
			
		||||
                </a>
 | 
			
		||||
                <input type="submit" class="LP-Button" value="Delete"/>
 | 
			
		||||
            </div>
 | 
			
		||||
        </div>
 | 
			
		||||
		<div class="LP-Form__Composition">
 | 
			
		||||
			<div class="LP-Form__Field LP-Form__InfoText">
 | 
			
		||||
				<p class="LP-Paragraph">Are you sure you want to delete "{{place.name}}"? </p>
 | 
			
		||||
			</div>
 | 
			
		||||
		</div>
 | 
			
		||||
 | 
			
		||||
		<div class="LP-Form__Composition LP-Form__Composition--buttons">
 | 
			
		||||
			<div class="LP-Form__Field LP-Form__Button LP-Input">
 | 
			
		||||
				<button class="LP-Button">Delete</button>
 | 
			
		||||
			</div>
 | 
			
		||||
			<div class="LP-Form__Field LP-Form__Button LP-Input">
 | 
			
		||||
				<a class="LP-Link" href="{% url 'place_detail' pk=place.pk %}">
 | 
			
		||||
					<button type="button" class="LP-Button LP-Button--cancel">Cancel</button>
 | 
			
		||||
				</a>
 | 
			
		||||
			</div>
 | 
			
		||||
		</div>
 | 
			
		||||
    </fieldset>
 | 
			
		||||
</form>
 | 
			
		||||
{% endblock maincontent %}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user