Files
Phraseanet/templates/web/admin/search-engine/phrasea.html.twig
Romain Neutron e7421e1fdd Fix twig tags
2013-12-03 20:02:39 +01:00

22 lines
931 B
Twig
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<div class="page-header">
<h1>{{ 'Phrasea search-engine configuration' | trans }}</h1>
</div>
<form method="post" action="{{ path('admin_searchengine_post') }}">
<fieldset>
<legend>{{ 'Stemming' | trans }}</legend>
{{ 'Enable stemming' | trans }} <input type="checkbox" name="stemming_enabled" value="1" {% if configuration['stemming_enabled'] %}checked="checked"{% endif %} />
</fieldset>
<fieldset>
<legend>{{ 'Default sort' | trans }}</legend>
<select name="default_sort">
{% for sort, sort_name in available_sort %}
<option value="{{ sort }}" {%if configuration['default_sort'] == sort %}selected="selected"{% endif %}>{{ sort_name }}</option>
{% endfor %}
</select>
</fieldset>
<div class="form-actions">
<button type="submit" class="btn btn-warning">{{ 'boutton::valider' | trans }}</button>
</div>
</form>