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