Compare commits

..

3 Commits

3 changed files with 16 additions and 7 deletions

View File

@ -39,6 +39,9 @@
</div> </div>
<div class="LP-Form__Composition"> <div class="LP-Form__Composition">
<a href="{% url 'place_list' %}"
<button class="LP-Button LP-Button--cancel">Cancel</button>
</a>
<input type="submit" class="LP-Button" value="Abschicken"/> <input type="submit" class="LP-Button" value="Abschicken"/>
</div> </div>
</fieldset> </fieldset>

View File

@ -10,11 +10,14 @@
<legend class="LP-Form__Legend">Place löschen</legend> <legend class="LP-Form__Legend">Place löschen</legend>
{% csrf_token %} {% csrf_token %}
<div class="LP-Form__Composition LP-Form__Composition--breakable"> <div class="LP-Form__Composition LP-Form__Composition--breakable">
<p class="LP-Paragraph">Are you sure you want to delete "{{place.name}}"?</p> <p class="LP-Paragraph">Are you sure you want to delete "{{place.name}}"?</p>
<div class="LP-Form__Composition"> <div class="LP-Form__Composition">
<input type="submit" class="LP-Button" value="Löschen"/> <a href="{% url 'place_detail' pk=place.pk %}"
</div> <button class="LP-Button LP-Button--cancel">Cancel</button>
</div> </a>
</fieldset> <input type="submit" class="LP-Button" value="Delete"/>
</div>
</div>
</fieldset>
</form> </form>
{% endblock maincontent %} {% endblock maincontent %}

View File

@ -39,6 +39,9 @@
</div> </div>
<div class="LP-Form__Composition"> <div class="LP-Form__Composition">
<a href="{% url 'place_detail' pk=place.pk %}"
<button class="LP-Button LP-Button--cancel">Cancel</button>
</a>
<input type="submit" class="LP-Button" value="Submit"/> <input type="submit" class="LP-Button" value="Submit"/>
</div> </div>
</fieldset> </fieldset>