Commit f164447a authored by mmarkus1's avatar mmarkus1
Browse files

Search input in navbar now works multilangual - results.html needs to be configured

parent b45e175f
......@@ -24,4 +24,9 @@
<lang key="en">Events</lang>
<lang key="fr">Events</lang>
</word>
<word key="Results of Search">
<lang key="de">Suchergebnisse</lang>
<lang key="en">Results of Search</lang>
<lang key="fr">Results of Search</lang>
</word>
</translation>
......@@ -40,9 +40,10 @@
</ul>
<form class="navbar-form navbar-search navbar-right" action="results.html" method="GET">
<div class="form-group">
<div data-template="lang:translate" data-template-content="Search">
<!--<div class="form-group">
<input id="searchInput" type="text" class="form-control" placeholder="  Search" data-template="templates:form-control" name="q"/>
<input id="searchLang" type="hidden" name="lang" value="en"/>
<input id="searchLang" type="hidden" name="lang" value="en"/>-->
</div>
<button class="btn btn-default" type="submit">
<i class="fa fa-search"/>
......
<div data-template="templates:surround" data-template-with="/../../sade-projects/textgrid/templates/tmpl1/surroundings.html" data-template-at="content-container">
<h1 class="block-header alt">
<span data-template="lang:translate" data-template-content="Results of Search"/>
</h1>
<p>-</p>
</div>
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment