lepisi-pengumuman/App/Views/Data/pengumuman.html
Gregorio Chiko Putra 47d455063f - Code design
- Passing data from users table
2017-09-05 11:30:11 +07:00

23 lines
432 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 }}">
{% if post.status == 1 %}
Edit
</a>
{% else %}
<strike>Edit</strike>
</a> (Nonaktif)
{% endif %}
<p>{{ post.content }}</p>
{% endfor %}
<a href="./posts/entry">+ Tambah Pengumuman</a>
{% endblock %}