Replace search link on main page to point to chill_main_search and fix tests

This commit is contained in:
2014-11-25 15:07:02 +01:00
parent 51d6bed43d
commit fc955e2995
4 changed files with 15 additions and 7 deletions

View File

@@ -35,7 +35,7 @@
<input type="password" name="_password" />
<input type="hidden" name="_csrf_token" value="{{ csrf_token('authenticate') }}" />
<br/>
<button type="submit">{{ 'Login'|trans }}</button>
<button type="submit" name="login">{{ 'Login'|trans }}</button>
</form>

View File

@@ -100,7 +100,7 @@
<div class="grid-8 centered">
<h2>{{ 'Search a person'|trans }}</h2>
<form action="{{ path('chill_person_search') }}" method="get">
<form action="{{ path('chill_main_search') }}" method="get">
<input name="q" type="search" placeholder="{{ 'Person name'|trans }}" />
<center>
<button type="submit" class="sc-button orange"><i class="fa fa-search"></i> {{ 'Search a person'|trans }}</button>