Commit df993b10 authored by Ysabella Panghulan's avatar Ysabella Panghulan

cleaned up code

parent 7010bfcc
{%extends 'base.html'%}
{% load static %}
{% block stylesheets %}
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
{% endblock %}
{% block title %} Widget's Calendar of Activties {% endblock %}
{% block header %}
<h2>Widget's Calendar of Activties</h2>
{% endblock %}
{% block header %}<h2>Widget's Calendar of Activties</h2>{% endblock %}
{% block body %}
{% block content %}
......
{%extends 'base.html'%}
{% load static %}
{% block stylesheets %}
<link rel="stylesheet" type="text/css" href="{% static 'widget_calendar/event.css' %}">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" type="text/css" href="{% static 'widget_calendar/event.css' %}">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
{% endblock %}
{% block title %}{{ object }}{% endblock %}
......
{%extends 'base.html'%}
{% load static %}
{% block stylesheets %}
<link rel="stylesheet" type="text/css" href="{% static 'stylesheets/forms.css' %}">
<link rel="stylesheet" type="text/css" href="{% static 'stylesheets/forms.css' %}">
{% endblock %}
{% block title %} Edit Activity {% endblock %}
{% block title %} Edit Activity {% endblock %}
{% block header %}
<h2>Edit Activity:</h2>
<h2>Edit Activity:</h2>
{% endblock %}
{% block body %}
{% block content %}
<div class="form">
<form method="POST" action="">
{% csrf_token %}
{{ form }}
<input type="Submit" value="Save New Activity">
</form>
</div>
{% endblock %}
{% block content %}
<div class="form">
<form method="POST" action="">
{% csrf_token %}
{{ form }}
<input type="Submit" value="Save New Activity">
</form>
</div>
{% endblock %}
{% 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