Skip to content

Commit

Permalink
Ch08: Indent tag_form.html for div placement.
Browse files Browse the repository at this point in the history
  • Loading branch information
jambonrose committed Jul 30, 2015
1 parent 1a77ff0 commit ec18b33
Showing 1 changed file with 12 additions and 8 deletions.
20 changes: 12 additions & 8 deletions organizer/templates/organizer/tag_form.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,16 @@
{% endblock %}

{% block content %}
<form
action="{% url 'organizer_tag_create' %}"
method="post">
{% csrf_token %}
{{ form.as_p }}
<button type="submit">
Create Tag</button>
</form>
<div>
<div>
<form
action="{% url 'organizer_tag_create' %}"
method="post">
{% csrf_token %}
{{ form.as_p }}
<button type="submit">
Create Tag</button>
</form>
</div>
</div>
{% endblock %}

0 comments on commit ec18b33

Please sign in to comment.