Commit d2b1aecd authored by Ryan Angelo G. Lim's avatar Ryan Angelo G. Lim

Updated add image feature.

parent f8d95821
{% extends "forum/base.html" %} {% extends "forum/base.html" %}
{% block content %} {% block content %}
{% if Post %} {% if Post %}
{% if Post.post_img %}
<img src="{{ Post.post_img.url }}" class="detailsRelatedPicture"> <img src="{{ Post.post_img.url }}" class="detailsRelatedPicture">
{% endif %}
{% if Post.post_author.picture %}
<img src="{{ Post.post_author.picture.url }}" class="detailsProfilePicture"> <img src="{{ Post.post_author.picture.url }}" class="detailsProfilePicture">
{% endif %}
<div class="RectangularShadow"></div> <div class="RectangularShadow"></div>
<h1 style="text-align: center">{{Post.post_title}}</h1> <h1 style="text-align: center">{{Post.post_title}}</h1>
<h2>by {{Post.post_author.first_name}} {{Post.post_author.last_name}}, {{Post.pub_date}}</h2> <h2>by {{Post.post_author.first_name}} {{Post.post_author.last_name}}, {{Post.pub_date}}</h2>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment