How to display form validation errors in a django template

See the code I use:

{% block content %}
<div class="container">
    {% if editclinic %}
        <form action="{{ editclinic }}" method="post">
    {% else %}
        <form action="/clinic/newclinic" method="post">
    {% endif %}


    {% csrf_token %}
    {% if form.non_field_errors %}
    <div class="alert alert-info" role="alert">
        {{ form.non_field_errors }}
    </div>
    {% endif %}
    <div class="row">
        <div class="col-md-24 mb-6 mt-6">

            <label for="name">Name of Clinic or Hospital<span class="text-muted">(Required)</label> {{ form.name|add_class:"form-control"|append_attr:"placeholder:Example: Dr Agarwal's Eye Clinic" }}
            <div class="invalid-feedback">{{ form.name.errors }}</div>
        </div>
    </div>
    <div class="row">
        <div class="col-md-24 mb-6 mt-6">

            <label for="label">Label<span class="text-muted"> (The clinic's tag in website address) Required.</label> {{ form.label|add_class:"form-control"|append_attr:"placeholder:Example: agarwaleyeclinic" }}
                <div class="invalid-feedback">{{ form.label.errors }}</div>
        </div>
    </div>
    <div class="row py-2">
        <div class="col-md-12">

            <span class="input-group-addon">Mobile<span class="text-muted"> (Required)</span></span> {{ form.mobile|add_class:"form-control"|append_attr:"placeholder:Example: 9900112233" }}
            <div class="invalid-feedback">{{ form.mobile.errors }}</div>
        </div>
        <div class="col-md-12">
            <span class="input-group-addon">Alternate Number</span> {{ form.alternate|add_class:"custom-select" }}
            <div class="invalid-feedback">{{ form.alternate.errors }}</div>
        </div>
    </div>
    <div class="row">
        <div class="col-md-24 mb-6 mt-6">
            <label for="email">Email<span class="text-muted"> (Required)</span></label> {{ form.email|add_class:"form-control"|append_attr:"placeholder:Example: [email protected]" }}
            <div class="invalid-feedback">{{ form.email.errors }}</div>
        </div>
    </div>
    <div class="row">
        <div class="col-md-24 mb-6 mt-6">
            <label for="Name">About the clinic/hospital</label> {{ form.about|add_class:"form-control"|append_attr:"placeholder:Example: Dr Agarwal's clinic is a specialised Eye care clinic in Guwahati." }}
            <div class="invalid-feedback">{{ form.about.errors }}</div>
        </div>
    </div>
    <div class="row">
        <div class="col-md-24 mb-6 mt-6">
            <label for="Name">Address</label> {{ form.address|add_class:"form-control" }}
            <div class="invalid-feedback">{{ form.name.address }}</div>
        </div>
    </div>
    <div class="row py-2">
        <div class="col-md-12">
            <label for="address">Locality</label> {{ form.locality|add_class:"form-control" }}
            <div class="invalid-feedback">{{ form.name.locality }}</div>
        </div>
        <div class="col-md-12">
            <label for="city">PIN code/ZIP</label> {{ form.pincode|add_class:"form-control" }}
            <div class="invalid-feedback">{{ form.pincode.errors }}</div>
        </div>
    </div>
    <div class="row">
        <div class="col-md-24 mb-6 mt-6">
            <label for="Name">Website</label> {{ form.website|add_class:"form-control" }}
            <div class="invalid-feedback">{{ form.website.errors }}</div>
        </div>
    </div>
    <div class="row">
        <div class="col-md-12 mb-6 mt-6">
            <label for="Name">Latitude</label> {{ form.latitude|add_class:"form-control" }}
            <div class="invalid-feedback">{{ form.latitude.errors }}</div>
        </div>
        <div class="col-md-12 mb-6 mt-6">
            <label for="Name">Longitude</label> {{ form.longitude|add_class:"form-control" }}
            <div class="invalid-feedback">{{ form.longitude.errors }}</div>
        </div>

    </div>
    <div class="d-none">
        <label for="Name">Maps Link</label> {{ form.placeurl|add_class:"form-control" }}
        <div class="invalid-feedback">{{ form.placeurl.errors }}</div>
    </div>
    <div class="row py-2 ">
        <div class="col-md-12">
            <label for="email">City
                <span class="text-muted"></span>
            </label> {{ form.city|add_class:"form-control" }}
            <div class="invalid-feedback">{{ form.city.errors }}</div>
        </div>

        <div class="col-md-12">
            <label for="email">State<span class="text-muted">(Required)</span></label>
            {{ form.state|add_class:"form-control" }}
            <div class="invalid-feedback">{{ form.state.errors }}</div>
        </div>
    </div>
    <div class="row py-2 ">
        <p>{{ form.logo.label_tag }} {{ form.logo.help_text }}</p>
        <p>
            {{ form.logo.errors }}
            {{ form.logo|add_class:"form-control-file" }}
        </p>
    </div>


    <div class="row">
        <div class="col-md-24 mb-6 mt-6">
        {% if 'Successfully' in msg %}
            <div class="alert alert-primary" role="alert">
                {{ msg }}
            </div>
        {% elif 'Failed' in msg %}
            <div class="alert alert-danger" role="alert">
            {{ msg }}
            </div>
        {% endif %}

        </div>
    </div>
    <div>
{% if editclinic %}
        <input class="btn btn-primary btton-right" value="Save Clinic" id="btnSaveClinic" type="submit">
{% else %}
        <input class="btn btn-primary btton-right" value="Add Clinic" id="btnAddClinic" type="submit">
{% endif %}

    </div>
    </form>

    <!-- {{ form }} -->
</div>
{% endblock %}