Simple news implementation
Is missing some proper design and to show up the news on the front page.
This commit is contained in:
parent
bf0480868d
commit
5f612a36ad
8 changed files with 101 additions and 1 deletions
9
templates/edit_news.html
Normal file
9
templates/edit_news.html
Normal file
|
@ -0,0 +1,9 @@
|
|||
{{template "header.html" .S}}
|
||||
|
||||
<h4>Add News:</h4>
|
||||
<form method="POST" action="/news/edit">
|
||||
<textarea name="text" rows="3"></textarea>
|
||||
<button type="submit" class="btn">Add</button>
|
||||
</form>
|
||||
|
||||
{{template "footer.html"}}
|
Reference in a new issue