SciPost Code Repository

Skip to content
Snippets Groups Projects
Commit 7ea45d99 authored by Jorran de Wit's avatar Jorran de Wit
Browse files

Improve request thesis link templates.

parent 883cc30f
No related branches found
No related tags found
No related merge requests found
.page-header {
background-color: #f4f4f4;
padding: 10px;
}
......@@ -14,4 +14,5 @@
@import "form";
@import "messages";
@import "navbar";
@import "page_header";
@import "type";
......@@ -28,13 +28,16 @@
{% include 'scipost/navbar.html' %}
{% include 'scipost/messages.html' %}
{% block bodysup %}
{% endblock bodysup %}
<div class="container">
{% block page_header %}{% endblock page_header %}
{% block content %}{% endblock content %}
</div>
{% block bodysup %}
{% endblock bodysup %}
{% include 'scipost/footer.html' %}
<script type="text/x-mathjax-config">
......
{% extends 'scipost/base.html' %}
{% load bootstrap %}
{% block pagetitle %}: request Thesis Link{% endblock pagetitle %}
{% block bodysup %}
{% block page_header %}
<div class="row">
<div class="col-12">
<h1 class="page-header">Request Activation of a Thesis Link</h1>
</div>
</div>
{% endblock page_header %}
<section>
<div class="flex-greybox">
<h1>Request Activation of a Thesis Link:</h1>
{% block content %}
<div class="row">
<div class="col-12 col-md-8">
<form action="{% url 'theses:request_thesislink' %}" method="post">
{% csrf_token %}
<table>
{{ form|bootstrap }}
</table>
<input class="btn btn-primary" type="submit" value="Submit"/>
</form>
</div>
<form action="{% url 'theses:request_thesislink' %}" method="post">
{% csrf_token %}
<table>
{{ form.as_table }}
</table>
<input type="submit" value="Submit"/>
</form>
</section>
</div>
{% endblock bodysup %}
{% endblock content %}
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