Commit 1d6cc9e7e5f0258e82e83f4b095671cc5f8a1638

Authored by Gustavo
1 parent 98c08d36

Modified search url, now works properly

Showing 1 changed file with 2 additions and 2 deletions   Show diff stats
news/templates/news/list.html
@@ -28,10 +28,10 @@ @@ -28,10 +28,10 @@
28 28
29 <div class="row"> 29 <div class="row">
30 <div class="col-md-9"> 30 <div class="col-md-9">
31 - <form action="{% url 'users:search' %}" method="GET" class="form-horizontal"> 31 + <form action="{% url 'news:search' %}" method="GET" class="form-horizontal">
32 <div class="form-group"> 32 <div class="form-group">
33 <div class="col-md-11 col-sm-11 col-xs-11"> 33 <div class="col-md-11 col-sm-11 col-xs-11">
34 - <input type="text" class="form-control" name="search" placeholder="{% trans 'Search...' %}" /> 34 + <input type="text" class="form-control" name="search" placeholder="{% trans 'Search by title, author or date' %}" />
35 </div> 35 </div>
36 <div class="col-md-1 col-sm-1 col-xs-1"> 36 <div class="col-md-1 col-sm-1 col-xs-1">
37 <button type="submit" class="btn btn-fab btn-fab-mini"> 37 <button type="submit" class="btn btn-fab btn-fab-mini">