Add note scaffold
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
{% extends "base.html" %}
|
||||
|
||||
{% block title %}
|
||||
View note: {{ item.id }}
|
||||
{% endblock title %}
|
||||
|
||||
{% block page_title %}
|
||||
View note: {{ item.id }}
|
||||
{% endblock page_title %}
|
||||
|
||||
|
||||
{% block content %}
|
||||
<div class="mb-10">
|
||||
<div>
|
||||
<label><b>{{"user_id" | capitalize }}:</b> {{item.user_id}}</label>
|
||||
</div>
|
||||
<div>
|
||||
<label><b>{{"title" | capitalize }}:</b> {{item.title}}</label>
|
||||
</div>
|
||||
<div>
|
||||
<label><b>{{"content" | capitalize }}:</b> {{item.content}}</label>
|
||||
</div>
|
||||
<br />
|
||||
<a href="/notes">Back to notes</a>
|
||||
</div>
|
||||
{% endblock content %}
|
||||
Reference in New Issue
Block a user