-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinsert_recipe.php
More file actions
48 lines (39 loc) · 1.56 KB
/
Copy pathinsert_recipe.php
File metadata and controls
48 lines (39 loc) · 1.56 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
<!DOCTYPE html>
<html>
<head>
<link href='http://fonts.googleapis.com/css?family=Ubuntu|Open+Sans:400,300,600' rel='stylesheet' type='text/css'>
<meta charset="utf-8"/>
<title>Test recipe form</title>
<link rel="stylesheet" type="text/css" href="_/css/styles.css">
<script type="text/javascript" src="_/js/jquery-1.11.3.min.js"></script>
<script type="text/javascript" src="_/js/sidebar.js"></script>
</head>
<body>
<div class="wrap">
<h1>This is a test form</h1>
<form id="recipeinsert" action="recipepost.php" method="POST">
<label for="title">Recipe name</label>
<input type="text" name="title">
<label for="creator">Creator</label>
<input type="text" name="creator">
<label for="short_description">Short Description</label>
<textarea name="short_description" rows="10"></textarea>
<label for="ingredients">Ingredients</label>
<textarea name="ingredients" rows="10"></textarea>
<label for="directions">Directions</label>
<textarea name="directions" rows="10"></textarea>
<label for="prep_time">Prep Time</label>
<input type="text" name="prep_time">
<label for="cook_time">Cook Time</label>
<input type="text" name="cook_time">
<label for="tags">Tags</label>
<textarea name="tags" rows="3"></textarea>
<label for="course">Course</label>
<input type="text" name="course">
<input type="submit" name="preview" value="preview">
<input type="submit" name="submit" value="submit">
</form>
</div>
<script src="http://localhost:35729/livereload.js"></script>
</body>
</html>