8.4.1 Rows and Columns
parent
8a57cbfc10
commit
bfa3bde075
|
@ -9,12 +9,26 @@
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
<h1>{% block header_text %}{% endblock %}</h1>
|
<div class="container">
|
||||||
<form method="POST" action="{% block form_action %}{% endblock %}">
|
<div class="row">
|
||||||
<input name="item_text" id="id_new_item" placeholder="Enter a to-do item" />
|
<div class="col-md-6 col-md-offset-3">
|
||||||
{% csrf_token %}
|
<div class="text-center">
|
||||||
</form>
|
<h1>{% block header_text %}{% endblock %}</h1>
|
||||||
{% block table %}
|
<form method="POST" action="{% block form_action %}{% endblock %}">
|
||||||
{% 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>
|
</body>
|
||||||
</html>
|
</html>
|
Loading…
Reference in New Issue