May 2020
Intermediate to advanced
404 pages
10h 52m
English
To create the page template that adds a bill to the billboard, we use the following code to create the add.html template file:
{% extends 'base.html' %}{% block content %}<div class="container"> <div class="row"> <div class="form_bg"> <form method="post" id="form"> {% csrf_token %} <h2 class="text-center">Add Bill</h2> <br /> <div class="form-group"> <input type="text" class="form-control" id="billname" name="billname" placeholder="Bill Name"> </div> <div class="form-group"> <input type="text" class="form-control" id="billdesc" name="billdesc" placeholder="Description"> </div> <br /> <div class="align-center"> <button type="submit" class="btn btn-success" id="save">Submit</button> </div> </form> </div> </div> ...Read now
Unlock full access