Add Post a Note page
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
<body>
|
||||
<header>
|
||||
<a href="{% url "home" %}" class="home">Appunti</a>
|
||||
<a href="#">
|
||||
<a href="{% url "post-a-note" %}">
|
||||
<img src="{% static "notes/images/icons/post-a-note.png" %}" alt="Post a note" title="Post a note" />
|
||||
</a>
|
||||
<a href="#">
|
||||
|
||||
11
notes/templates/notes/note_form.html
Normal file
11
notes/templates/notes/note_form.html
Normal file
@@ -0,0 +1,11 @@
|
||||
{% extends "notes/base.html" %}
|
||||
|
||||
{% block title %}Post a Note{% endblock %}
|
||||
|
||||
{% block body %}
|
||||
<h1>Post a Note</h1>
|
||||
<form method="post">{% csrf_token %}
|
||||
{{ form.as_p }}
|
||||
<button type="submit">Post!</button>
|
||||
</form>
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user