Commit 1d6cc9e7e5f0258e82e83f4b095671cc5f8a1638
1 parent
98c08d36
Exists in
master
and in
2 other branches
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 | 28 | |
29 | 29 | <div class="row"> |
30 | 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 | 32 | <div class="form-group"> |
33 | 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 | 35 | </div> |
36 | 36 | <div class="col-md-1 col-sm-1 col-xs-1"> |
37 | 37 | <button type="submit" class="btn btn-fab btn-fab-mini"> | ... | ... |