I am working on a django project, but for some reason the template I am using brings up an invalid block tag error. I have looked at some other similar questions, but nothing seems helpful, so if you can see the problem please do tell me.Here is the template:
{% extends "learning_logs/base.html" %}
{% load bootstrap3 %}
{% block header %}
<h2>Register an account.</h2>
{% endblock header %}
{% block content %}
<form method="post" action="{% url 'users:register' %}" class="form">
{% csrf_token %}
{% bootstrap-form form %}
{% buttons %}
<button name="sumbit" class="btn btn-primary">register</button>
{% endbuttons %}
<input type="hidden" name="next" value="{% url 'learning_logs:index' %}" />
</form>
{% endblock content %}
Thanks,
Milo
Found it. It's {% bootstrap_form form %}
, not {% bootstrap-form form %}
Check it here