Right-align 'Generate PDF' button
This commit is contained in:
parent
20a0c7b2e7
commit
5024a79842
|
@ -102,13 +102,16 @@
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<a href="javascript:void(0)"
|
<div style="text-align: right; margin-bottom: 2em;">
|
||||||
class="wipe up-wipe"
|
<a href="javascript:void(0)"
|
||||||
{% if letter_errors %}
|
class="wipe up-wipe"
|
||||||
onclick="clearErrors();document.getElementById('letter-form').submit()"
|
style="margin-bottom: 1em;"
|
||||||
{% else %}
|
{% if letter_errors %}
|
||||||
onclick="document.getElementById('letter-form').submit()"
|
onclick="clearErrors();document.getElementById('letter-form').submit()"
|
||||||
{% endif %}
|
{% else %}
|
||||||
>Generate PDF</a>
|
onclick="document.getElementById('letter-form').submit()"
|
||||||
|
{% endif %}
|
||||||
|
>Generate PDF</a>
|
||||||
|
</div>
|
||||||
</form>
|
</form>
|
||||||
{% endblock content %}
|
{% endblock content %}
|
||||||
|
|
Loading…
Reference in New Issue