django.template.exceptions.TemplateSyntaxError: 'bootstrap_field' received some positional argument(s) after some keyword argument(s)

Question:

I was trying to modify my django sign_in template with bootstrap field along with some arguments but i was not able too.

Exception:

C:UsershpDesktopfastparcelcoretemplatessign_in.html, error at line 25

'bootstrap_field' received some positional argument(s) after some keyword argument(s)
{% bootstrap_field form.username show_lable=False placeholder ="Email" %}`

Html

{% extends 'base.html' %}
{% load bootstrap4 %}

{% block content%}

<div class="container-fluid mt-5">
    <div class="justify-content-center">
        <div class="col-lg-4">
            <div class="card">
                <div class="card-body">
                    <h4 class="text-center text-uppercase mb-3">
                        <b>
                            {% if request.GET.next != '/courier/'%}
                            Customer
                            {% else %}
                            Courier
                            {% endif %}
                        </b>

                    </h4>
                    <form action="POST">
                        {% csrf_token %}
                        {% bootstrap_form_errors form %}
                        {% bootstrap_label "Email" %}
                        {% bootstrap_field form.username show_lable=False  placeholder ="Email" %}
                        {% bootstrap_field field form.password %}
                        <button class="btn btn-warning btn-block "> Sign in</button>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>

{% endblock %}
Asked By: mick

||

Answers:

thanks @raphael
and the answer was
removing the space after placeholder in

{% bootstrap_field form.username show_lable=False placeholder ="Email" %}

to be like

{% bootstrap_field form.username show_label=False placeholder="Email" %}
Answered By: mick