16 lines
319 B
HTML
16 lines
319 B
HTML
{% extends "base.html" %}
|
|
|
|
{% block title %}Pengumuman{% endblock %}
|
|
|
|
{% block body %}
|
|
<h2>List Pengumuman</h2>
|
|
|
|
{% for post in posts %}
|
|
<h3>Pengumuman {{ post.id }}</h3>
|
|
<a href="/posts/edit/{{ post.id }}">Edit</a>
|
|
<p>{{ post.content }}</p>
|
|
{% endfor %}
|
|
|
|
<a href="./posts/entry">+ Tambah Pengumuman</a>
|
|
{% endblock %}
|