|
@@ -16,7 +16,7 @@
|
|
<h4>{% trans %}Search Settings{% endtrans %}</h4>
|
|
<h4>{% trans %}Search Settings{% endtrans %}</h4>
|
|
<form action="{% url 'admin_settings_search' %}" class="form-inline" method="post">
|
|
<form action="{% url 'admin_settings_search' %}" class="form-inline" method="post">
|
|
<input type="hidden" name="{{ csrf_id }}" value="{{ csrf_token }}">
|
|
<input type="hidden" name="{{ csrf_id }}" value="{{ csrf_token }}">
|
|
- {{ form_theme.input_text(search_form.fields.search_text, width=2, attrs={'placeholder': _('Search Settings...')}) }}
|
|
|
|
|
|
+ {{ form_theme.input_text(search_form.fields.search_text, width=2, attrs={'placeholder': lang_search_settings()}) }}
|
|
<button type="submit" class="btn btn-primary"><i class="icon-search icon-white"></i></button>
|
|
<button type="submit" class="btn btn-primary"><i class="icon-search icon-white"></i></button>
|
|
</form>
|
|
</form>
|
|
<h4>{% trans%}Settings Groups{% endtrans %}</h4>{% for group in groups %}
|
|
<h4>{% trans%}Settings Groups{% endtrans %}</h4>{% for group in groups %}
|
|
@@ -39,3 +39,6 @@
|
|
{% endblock %}</div>
|
|
{% endblock %}</div>
|
|
</div>
|
|
</div>
|
|
{% endblock %}
|
|
{% endblock %}
|
|
|
|
+
|
|
|
|
+{# Language strings macros #}
|
|
|
|
+{% macro lang_search_settings() -%}{% trans %}Search Settings...{% endtrans %}{%- endmacro %}
|