Commit aebd7475 authored by Patrick Kimber's avatar Patrick Kimber

Add a default 'id' to the submit button

https://www.kbsoftware.co.uk/crm/ticket/155/
parent 6a849b48
Pipeline #11919483 passed with stage
in 59 seconds
......@@ -33,7 +33,7 @@
{% endfor %}
<div class="pure-controls">
<p>
<input type="submit" {% if submit_id %}id="{{ submit_id }}" {% endif %}value="{% if submit %}{{ submit }}{% else %}Submit{% endif %}" class="pure-button pure-button-primary" />
<input type="submit" {% if submit_id %}id="{{ submit_id }}"{% else %}id="submit"{% endif %} value="{% if submit %}{{ submit }}{% else %}Submit{% endif %}" class="pure-button pure-button-primary" />
{% if submit_2_id and submit_2_name and submit_2_value %}
<input type="submit" id="{{ submit_2_id }}" name="{{ submit_2_name }}" value="{{ submit_2_value }}" class="pure-button" />
{% endif %}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment