Made a 'create page' form that just redirects you to the edit page
This commit is contained in:
15
templates/forms/create_page.html
Normal file
15
templates/forms/create_page.html
Normal file
@@ -0,0 +1,15 @@
|
||||
<body>
|
||||
<header>
|
||||
{% include 'partials/site-wide-header.html' %}
|
||||
</header>
|
||||
<form action='/submit_create_page' method='post'>
|
||||
<label>Page Name:</label>
|
||||
<input type='text' name='page_name'>
|
||||
|
||||
<input type='submit' value='submit'>
|
||||
</form
|
||||
<footer>
|
||||
{% include 'partials/site-wide-footer.html' %}
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
@@ -1,2 +1,4 @@
|
||||
<a href='/'>Home Page</a>
|
||||
/
|
||||
<a href='/create_page'>Create New Page</a>
|
||||
<hr/>
|
||||
|
Reference in New Issue
Block a user