Cancel buttons type="button".

This commit is contained in:
Marcus Scholz 2020-08-12 16:19:52 +02:00
parent 118c48cd66
commit 8f340f6567
3 changed files with 3 additions and 3 deletions

View File

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

View File

@ -13,7 +13,7 @@
<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">
<a href="{% url 'place_detail' pk=place.pk %}"> <a href="{% url 'place_detail' pk=place.pk %}">
<button class="LP-Button LP-Button--cancel">Cancel</button> <button type="button" class="LP-Button LP-Button--cancel">Cancel</button>
</a> </a>
<input type="submit" class="LP-Button" value="Delete"/> <input type="submit" class="LP-Button" value="Delete"/>
</div> </div>

View File

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