Commit df993b10 authored by Ysabella Panghulan's avatar Ysabella Panghulan

cleaned up code

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