Commit 90392cb4 authored by Ysabella Panghulan's avatar Ysabella Panghulan

created event details template

parent 77d337d6
{%extends 'base.html'%}
{% block title %}{{ object }}{% endblock %}
{% block header %}
<h2>{{ object }}</h2>
{% endblock %}
{% block body %}
<div class="event-content">
{% block content %}
<h4>Date and Time: {{ object.target_datetime|date:'m/d/Y' }} {{ object.target_datetime|date:'h:i A' }} </h4>
<h4>Estimated Hours: {{ object.estimated_hours }}</h4>
<h4>{{ object.course.code }} {{ object.course.title }} - {{ object.course.section }}</h4>
<h4>Mode: {{ object.location.mode }}</h4>
<h4>Venue: {{ object.location.venue }}</h4>
{% endblock %}
</div>
<div class="links">
<a href="{{object.get_absolute_url}}../edit" class="btn-primary">Edit Activity</a>
</div>
{% endblock %}
\ No newline at end of file
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