-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathObituary.html
More file actions
57 lines (57 loc) · 2.59 KB
/
Obituary.html
File metadata and controls
57 lines (57 loc) · 2.59 KB
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
<!DOCTYPE html>
<html>
<head>
<title>Submit Obituary</title>
<meta charset="utf-8" />
<link rel="stylesheet" href="stylesheets/styles/import.css" media="all" />
<script src="scripts/custom.js" async></script>
</head>
<body>
<nav id="nav"></nav>
<form name="obituary" method="POST" enctype="multipart/form-data" class="tabbed">
<fieldset id="obituary_text">
<legend>Obituary</legend>
<textarea name="obituary[text]" cols="80" rows="25" autofocus required></textarea>
<br />
<a href="#obituary_deceased" role="button">Next</a>
</fieldset>
<fieldset id="obituary_deceased">
<legend>Deceased</legend>
<label for="obituary_deceased_name">Name</label>
<input type="text" name="obituary[deceased][name]" id="obituary_deceased_name" placeholder="John Smith" pattern="[A-z\. ]+" required />
<br />
<label for="obituary_deceased_birthDate">Date of Death:</label>
<input type="date" name="obituary[deceased][birthDate]" id="obituary_deceased_birthDate" placeholder="YYYY-MM-DD" />
<br />
<label for="obituary_deceased_deathDate">Date of Death:</label>
<input type="date" name="obituary[deceased][deathDate]" id="obituary_deceased_deathDate" placeholder="YYYY-MM-DD" />
<br />
<label for="obituary_deceased_usePhoto"><em>Add a photo for $5?</em></label>
<input type="checkbox" name="obituary[deceased][usePhoto]" data-visibility-target="#obit_photo" />
<br />
<div id="obit_photo" hidden>
<label for="obituary_deceased_photo">Photo:</label>
<input type="file" name="obituary[deceased][photo]" id="obituary_deceased_photo" accept="image/*" placeholder="Upload image" />
</div>
<a href="#obituary_text" role="button">Prev</a>
<a href="#obituary_contact" role="button">Next</a>
</fieldset>
<fieldset id="obituary_contact">
<legend>Contact and Billing</legend>
<label for="obituary_contact_name">Name:</label>
<input type="text" name="obituary[contact][name]" id="obituary_contact_name" placeholder="John Smith" pattern="[A-z\. ]+" required />
<br />
<label for="obituary_contact_tel">Phone:</label>
<input type="tel" name="obituary[contact][tel]" id="obituary_contact_tel" placeholder="17603791234" required />
<br />
<label for="obituary_contact_email">E-Mail Address:</label>
<input type="email" name="obituary[contact][email]" id="obituary_contact_email" placeholder="user@example.com" required />
<hr />
<a href="#obituary_deceased" role="button">Previous</a>
<br />
<button type="submit">Submit</button>
<button type="reset">Reset</button>
</fieldset>
</form>
</body>
</html>