forked from JosephMcArthur/rscvd-dev
-
Notifications
You must be signed in to change notification settings - Fork 1
/
book.html
78 lines (56 loc) · 2.5 KB
/
book.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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
---
layout: default
---
<h1>Book Chapter Request</h1>
<form id="submission">
<label>Book Title
<p><input class="_oab_form" type="text" id="title" placeholder="Biology for dummies"></p>
</label>
<label>ISBN
<p><input class="_oab_form" type="text" id="ISBN" placeholder="e.g 978-3-16-148410-0"></p>
</label>
<label>Chapter Title
<p><input class="_oab_form" type="text" id="chapter" placeholder="e.g Evolution"></p>
</label>
<label>Page Numbers
<p><input class="_oab_form" type="text" id="pages" placeholder="e.g 314-412"></p>
</label>
<label>Authors
<p><input class="_oab_form" type="text" id="authors" placeholder="e.g Charles Darwin"></p>
</label>
<label>Edition
<p><input class="_oab_form" type="text" id="edition" placeholder="e.g 1"></p>
</label>
<label>Year Published
<p><input class="_oab_form" type="text" id="year" placeholder="e.g 1992"></p>
</label>
<h3 class="form-section">About the request</h3>
<!-- https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/date suggested required pattern -->
<label for="needed-by">When do you need this by?</label>
<p class="question-description">If we can't deliver your request by this date, it will be cancelled.</p>
<p><input class="_oab_form" type="date" id="needed-by" min='1899-01-01' max='2222-01-01' required pattern="\d{4}-\d{2}-\d{2}" placeholder="yyyy/mm/dd"></p>
<label>Your Reference Number (if any)
<p><input class="_oab_form" type="text" id="reference" placeholder="e.g. 02397133-002"></p>
</label>
<label>Notes
<p><input class="_oab_form" type="text" id="other" placeholder="e.g. Please process quickly!"></p>
</label>
<h3 class="form-section">About you</h3>
<label>Institutional Email Address
<p><input required="required" class="_oab_form" type="email" id="email" placeholder="e.g. your.email@institution.edu"></p>
</label>
<label>Full Name
<p><input required="required" class="_oab_form" type="text" id="name" placeholder="e.g. Carla Hayden"></p>
</label>
<label>Library Name
<p><input required="required" class="_oab_form" type="text" id="organization" placeholder="e.g. Harvard University Library"></p>
</label>
<input class="_oab_button" href="thanks" id="submit" aria-label="submit" style="min-width:150px;" type="submit" value="Submit Request">
<p><i>If you have trouble submitting <a href="mailto:help+rscvd@openaccessbutton.org">let us know</a>.</i></p>
</form>
<script>
var sid = 'AKfycbwPq7xWoTLwnqZHv7gJAwtsHRkreJ1hMJVeeplxDG_MipdIamU6';
var url = 'https://api.openaccessbutton.org/ill/collect/' + sid;
var fields = [];
</script>
{% include form.html %}