can write and read notes
This commit is contained in:
9
templates/note.html.twig
Normal file
9
templates/note.html.twig
Normal file
@@ -0,0 +1,9 @@
|
||||
{% extends 'base.html.twig' %}
|
||||
|
||||
{% block content %}
|
||||
<section>
|
||||
<h1>Note</h1>
|
||||
<time>{{ note.getPublishedDate().format('c') }}
|
||||
<p>{{ note.content }}</p>
|
||||
</section>
|
||||
{% endblock %}
|
||||
7
templates/notes.html.twig
Normal file
7
templates/notes.html.twig
Normal file
@@ -0,0 +1,7 @@
|
||||
{% extends 'base.html.twig' %}
|
||||
|
||||
{% block content %}
|
||||
<section>
|
||||
<h1>Notes</h1>
|
||||
</section>
|
||||
{% endblock %}
|
||||
8
templates/write_note.html.twig
Normal file
8
templates/write_note.html.twig
Normal file
@@ -0,0 +1,8 @@
|
||||
{% extends 'base.html.twig' %}
|
||||
|
||||
{% block content %}
|
||||
<section>
|
||||
<h1>Write a note</h1>
|
||||
{{ form(form) }}
|
||||
</section>
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user