mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-23 18:03:17 +00:00
Add Form for ElasticSearch Configuration.
Also changed type from array to Options object.
This commit is contained in:
@@ -1,11 +1,3 @@
|
||||
<h1>{{ 'ElasticSearch configuration' | trans }}</h1>
|
||||
|
||||
<form method="post" action="{{ path('admin_searchengine_post') }}">
|
||||
<div>{{ 'ElasticSearch connection configuration' | trans }}</div>
|
||||
|
||||
<div>{{ 'ElasticSearch server' | trans }}</div>
|
||||
<input type="text" name="host" value="{{ configuration['host'] | default('localhost') }}"/>
|
||||
<input type="text" name="port" value="{{ configuration['port'] | default('9200') }}"/>
|
||||
|
||||
<button type="submit" class="btn btn-warning" >{{ 'boutton::valider' | trans }}</button>
|
||||
</form>
|
||||
{{ form(form) }}
|
||||
|
@@ -23,7 +23,7 @@
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a target="right" href="{{ path('admin_searchengine_get') }}">
|
||||
<a target="right" href="{{ path('admin_searchengine_form') }}">
|
||||
<span>{{ 'SearchEngine settings' | trans }}</span>
|
||||
</a>
|
||||
</li>
|
||||
|
Reference in New Issue
Block a user