-
Notifications
You must be signed in to change notification settings - Fork 16
/
continuation.html
51 lines (46 loc) · 2.11 KB
/
continuation.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
{% extends "admin/admin_base.html" %}
{% block page_title %}
{% if form.type.data == "replaces" %}
{{ current.bibjson().title }} continues…
{% else %}
{{ current.bibjson().title }} is continued by…
{% endif %}
{% endblock %}
{% block admin_content %}
<div class="row">
<div class="col-md-6">
{% if form.type.data == "replaces" %}
<h1><em>{{ current.bibjson().title }}</em> continues…</h1>
<p>
Please provide the <strong>Journal Title</strong> and <strong>ISSN(s)</strong> for the journal that is continued by {{ current.bibjson().title }}.
</p>
<p>
This will create a record in DOAJ so do not use this option if the journal
already exists. Once you submit this form, a new journal record will be created and
you may edit the other associated metadata fields.
</p>
{% endif %}
{% if form.type.data == "is_replaced_by" %}
<h1><em>{{ current.bibjson().title }}</em> is continued by…</h1>
<p>
Please provide the <strong>new Journal Title</strong> and <strong>new ISSN(s)</strong> that
continue {{ current.bibjson().title }}. Once you submit this form, a new journal record will
be created and you may edit the other associated metadata fields.
</p>
{% endif %}
</div>
<div class="col-md-6">
{% from "_formhelpers.html" import render_field_horizontal %}
{% from "_formhelpers.html" import render_field %}
<form method="post" action="{{ url_for('admin.journal_continue', journal_id=current.id) }}" class="form form--compact" id="continuation_form">
<fieldset>
{{ render_field_horizontal(form.title, style="width: 400px", placeholder="Enter the journal title here") }}
{{ render_field_horizontal(form.pissn, style="width: 400px", placeholder="Enter the journal print ISSN") }}
{{ render_field_horizontal(form.eissn, style="width: 400px", placeholder="Enter the journal electronic ISSN") }}
<input type="hidden" name="type" value="{{ form.type.data }}">
<button class="button button--primary">Create</button>
</fieldset>
</form>
</div>
</div>
{% endblock %}