-
Notifications
You must be signed in to change notification settings - Fork 6
/
add-recipe.php
45 lines (35 loc) · 976 Bytes
/
add-recipe.php
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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Recipe Manager</title>
<link rel="stylesheet" href="css/style.css" />
<link rel="stylesheet" href="css/add-form.css" />
</head>
<body>
<h1>Add a Question</h1>
<form method="post" action="ajax/add-recipe.php">
<fieldset>
<label for="recipe_title">Title</label>
<input type="text" name="recipe_title"/>
</fieldset>
<fieldset>
<label for="recipe_desc">Description</label>
<textarea name="recipe_desc" rows="6"></textarea>
</fieldset>
<fieldset>
<label for="recipe_image">Image URL</label>
<input type="text" name="recipe_image"/>
</fieldset>
<fieldset>
<label for="ingredient_1">Ingredient 1</label>
<input type="text" name="ingredient_1"/>
</fieldset>
<fieldset>
<label for="ingredient_2">Ingredient 2</label>
<input type="text" name="ingredient_2"/>
</fieldset>
<input type="submit" value="Save this recipe"/>
</form>
</body>
</html>