Right-align 'Generate PDF' button

This commit is contained in:
Sage Vaillancourt 2022-09-29 13:28:25 -04:00
parent 20a0c7b2e7
commit 5024a79842
1 changed files with 11 additions and 8 deletions

View File

@ -102,13 +102,16 @@
</div>
{% endif %}
<a href="javascript:void(0)"
class="wipe up-wipe"
{% if letter_errors %}
onclick="clearErrors();document.getElementById('letter-form').submit()"
{% else %}
onclick="document.getElementById('letter-form').submit()"
{% endif %}
>Generate PDF</a>
<div style="text-align: right; margin-bottom: 2em;">
<a href="javascript:void(0)"
class="wipe up-wipe"
style="margin-bottom: 1em;"
{% if letter_errors %}
onclick="clearErrors();document.getElementById('letter-form').submit()"
{% else %}
onclick="document.getElementById('letter-form').submit()"
{% endif %}
>Generate PDF</a>
</div>
</form>
{% endblock content %}