diff --git a/template/edit_group_post.html b/template/edit_group_post.html new file mode 100644 index 0000000..84ad580 --- /dev/null +++ b/template/edit_group_post.html @@ -0,0 +1,67 @@ +{% extends "base.html" %} + +{% block title %}Edit Post in {{ group.name }}{% endblock %} + +{% block content %} +
{{ group.description }}
+ {% if current_user.is_authenticated and current_user not in group.members %} + {% if group.visibility == 'public' or group.visibility == 'registered_only' %} + + {% elif group.visibility == 'invite_only' and group.allow_requests %} + + {% endif %} + {% endif %} +{{ post.content|safe }}
+ {% if post.image_url %} + + {% endif %} +{{ post.content|safe }}
+{{ post.timestamp.strftime('%Y-%m-%d %H:%M:%S') }}
+ + +{{ group.description }}
+ View Group +
Comments:
++ {% for comment in post.comments %} + {% include 'comment.html' %} + {% endfor %} +
+ +