SciPost Code Repository

Skip to content
Snippets Groups Projects
Commit 5a159cf3 authored by Jean-Sébastien Caux's avatar Jean-Sébastien Caux
Browse files

Template style: app mails

parent d7a9cc6e
No related branches found
No related tags found
No related merge requests found
...@@ -6,30 +6,30 @@ ...@@ -6,30 +6,30 @@
{% block content %} {% block content %}
{% if header_template %} {% if header_template %}
{% include header_template with object=object %} {% include header_template with object=object %}
<hr class="divider"> <hr class="divider">
<h2 class="highlight">Complete and send mail</h2> <h2 class="highlight">Complete and send mail</h2>
{% else %} {% else %}
<h1 class="highlight">Complete and send mail</h1> <h1 class="highlight">Complete and send mail</h1>
{% endif %} {% endif %}
<h3 class="mb-4">You may edit the mail before sending it.</h3> <h3 class="mb-4">You may edit the mail before sending it.</h3>
<form enctype="multipart/form-data" method="post"> <form enctype="multipart/form-data" method="post">
{% csrf_token %} {% csrf_token %}
{% if transfer_data_form %}{{ transfer_data_form }}{% endif %} {% if transfer_data_form %}{{ transfer_data_form }}{% endif %}
{{ form|bootstrap }} {{ form|bootstrap }}
<div class="form-group row"> <div class="form-group row">
<div class="offset-md-2 col-md-10"> <div class="offset-md-2 col-md-10">
<input class="btn btn-outline-secondary mr-2" type="reset" value="Reset to default"> <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> <button class="btn btn-primary mr-2" type="submit" name="save" value="send_from_editor">Send mail</button>
</div> </div>
</div> </div>
</form> </form>
{% endblock content %} {% endblock content %}
{% block footer_script %} {% block footer_script %}
{{ block.super }} {{ block.super }}
{{ form.media }} {{ form.media }}
{% endblock footer_script %} {% endblock footer_script %}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment