File tree 1 file changed +0
-26
lines changed
1 file changed +0
-26
lines changed Original file line number Diff line number Diff line change 27
27
<li >A great user Interface.</li >
28
28
29
29
</p >
30
- ``` HTML
31
- <% include ../partials/header %>
32
- <div class =" row" >
33
- <h1 style =" text-align : center " >Create a New Campground</h1 >
34
- <div style =" width : 30% ; margin : 25px auto ;" >
35
- <form action =" /campgrounds" method =" POST" enctype =" multipart/form-data" >
36
- <div class =" form-group" >
37
- <input class =" form-control" type =" text" name =" campground[name]" placeholder =" name" >
38
- </div >
39
- <div class =" form-group" >
40
- <label for =" image" >Image</label >
41
- <input type =" file" id =" image" name =" image" accept =" image/*" required >
42
- </div >
43
- <div class =" form-group" >
44
- <input class =" form-control" type =" text" name =" campground[description]" placeholder =" description" >
45
- </div >
46
- <div class =" form-group" >
47
- <button class =" btn btn-lg btn-primary btn-block" >Submit!</button >
48
- </div >
49
- </form >
50
- <a href =" /campgrounds" >Go Back</a >
51
- </div >
52
- </div >
53
- <% include ../partials/footer %>
54
30
55
-
56
- ```
57
31
<hr >
58
32
<h6 >Thanks</h6 >
59
33
<h5 >Siddharth Kumar</h5 >
You can’t perform that action at this time.
0 commit comments