Added custom button text variable.

This commit is contained in:
Marcus Scholz 2020-09-28 22:10:07 +02:00
parent d6c609d107
commit aa3922da50

View File

@ -1,8 +1,8 @@
<div class="LP-Form__Field LP-Form__Button LP-Input"> <div class="LP-Form__Field LP-Form__Button LP-Input">
<button class="LP-Button">Submit</button> <button class="LP-Button">{% if action %}{{ action }}{% else %}Submit{% endif %}</button>
</div> </div>
<div class="LP-Form__Field LP-Form__Button LP-Input"> <div class="LP-Form__Field LP-Form__Button LP-Input">
<a class="LP-Link" href="{% if referrer %} {{ referrer }} {% else %} {% url 'lostplaces_home' %}{% endif %}"> <a class="LP-Link" href="{% if referer %}{{ referer }}{% else %}{% url 'lostplaces_home' %}{% endif %}">
<button type="button" class="LP-Button LP-Button--cancel">Cancel</button> <button type="button" class="LP-Button LP-Button--cancel">Cancel</button>
</a> </a>
</div> </div>