{% extends "base.html" %}

{% block newpost %}

	<h1>New Post</h1>
		

{% endblock newpost %}




{% extends "base.html" %}

{% block newpost %}

	<h1>New Post</h1>
	
	<form method="post">
	    <label>
	        <div>Blog Title</div>
	        <input type="text" name='title' value="{{blogTitle}}">
	    </label>
	    <label>
	        <div>Blog Post</div>
	        <textarea name="art" cols="30" rows="10">{{blogPost}}</textarea>
	    </label>
	    <div class="error">
	        {{error}}
	    </div>
	    <input type="submit">
	</form>	

{% endblock newpost %}




Add html form to template
feat: Add html form to template
