I am having amazing problem in my django template. Button does not respond 
on pressing click on it. It works when I press return key. code is 
following. 
{% extends 'vtapp/baseapp_layout.html' %}

{% block head %}
<title>Vehicle Vegilince - Customer Search</title>
{% endblock %}

{% block content %}
<h3>Enter Customer information</h3>
<form method="post" action="{% url 'vtapp:vtsearch' %}">
{% csrf_token %}
<div class="form-group">
<div class="col-lg-5">
<input type="text" name="custsrh" class="form-control" placeholder="Enter 
CNIC / mobile phone">
</div> 
<label class="col-lg-2">
<buton type="submit" class="btn btn-danger">Search</buton>
</label>
</div>
</form>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/ea697019-42b8-4f66-8658-36f26ba3493a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to