From 5a159cf36ef00929d947516d386f9bd9f5915056 Mon Sep 17 00:00:00 2001 From: "J.-S. Caux" <J.S.Caux@uva.nl> Date: Mon, 15 Apr 2019 09:02:07 +0200 Subject: [PATCH] Template style: app mails --- mails/templates/mails/mail_form.html | 42 ++++++++++++++-------------- 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/mails/templates/mails/mail_form.html b/mails/templates/mails/mail_form.html index 6bae596d9..3bf5ac609 100644 --- a/mails/templates/mails/mail_form.html +++ b/mails/templates/mails/mail_form.html @@ -6,30 +6,30 @@ {% block content %} - {% if header_template %} - {% include header_template with object=object %} - <hr class="divider"> - <h2 class="highlight">Complete and send mail</h2> - {% else %} - <h1 class="highlight">Complete and send mail</h1> - {% endif %} - <h3 class="mb-4">You may edit the mail before sending it.</h3> + {% if header_template %} + {% include header_template with object=object %} + <hr class="divider"> + <h2 class="highlight">Complete and send mail</h2> + {% else %} + <h1 class="highlight">Complete and send mail</h1> + {% endif %} + <h3 class="mb-4">You may edit the mail before sending it.</h3> - <form enctype="multipart/form-data" method="post"> - {% csrf_token %} - {% if transfer_data_form %}{{ transfer_data_form }}{% endif %} - {{ form|bootstrap }} - <div class="form-group row"> - <div class="offset-md-2 col-md-10"> - <input class="btn btn-outline-secondary mr-2" type="reset" value="Reset to default"> - <button class="btn btn-primary mr-2" type="submit" name="save" value="send_from_editor">Send mail</button> - </div> - </div> - </form> + <form enctype="multipart/form-data" method="post"> + {% csrf_token %} + {% if transfer_data_form %}{{ transfer_data_form }}{% endif %} + {{ form|bootstrap }} + <div class="form-group row"> + <div class="offset-md-2 col-md-10"> + <input class="btn btn-outline-secondary mr-2" type="reset" value="Reset to default"> + <button class="btn btn-primary mr-2" type="submit" name="save" value="send_from_editor">Send mail</button> + </div> + </div> + </form> {% endblock content %} {% block footer_script %} - {{ block.super }} - {{ form.media }} + {{ block.super }} + {{ form.media }} {% endblock footer_script %} -- GitLab