<%- include("../partials/header") %>
<div class="container">
	<div class="row">
		<h1 style="text-align:center">
			Add a new comment
		</h1>
		<div style="width:30%; margin: 30px auto">
			<form method="POST" action="/campgrounds/<%=campground._id%>/comments">
				<div class="form-group">
					<input type="text" name="comment[text]" class="form-control" placeholder="Text">
				</div>
			
				<div class="form-group">
					<button class="btn btn-md btn-primary btn-block">
					Submit
					</button>
				</div>
			</form>
			<a href="/campgrounds/<%=campground._id%>">Go back</a>
		</div>
	</div>
</div>
<%- include("../partials/footer") %>