8.4.1 Rows and Columns

master
Jason Zhu 2020-11-11 18:18:10 +11:00
parent 8a57cbfc10
commit bfa3bde075
1 changed files with 21 additions and 7 deletions

View File

@ -9,12 +9,26 @@
</head>
<body>
<div class="container">
<div class="row">
<div class="col-md-6 col-md-offset-3">
<div class="text-center">
<h1>{% block header_text %}{% endblock %}</h1>
<form method="POST" action="{% block form_action %}{% endblock %}">
<input name="item_text" id="id_new_item" placeholder="Enter a to-do item" />
{% csrf_token %}
</form>
</div>
</div>
</div>
<div class="row">
<div class="col-md-6 col-md-offset-3">
{% block table %}
{% endblock %}
</div>
</div>
</div>
</body>
</html>