6 lines
278 B
HTML
6 lines
278 B
HTML
{% if has_permission('[[ name|camel_to_snake ]]', 'search') %}
|
|
<form action="{{ url_for('search_[[ name|camel_to_snake ]]') }}">
|
|
<input type="text" name="q" value="{{ request.args.q }}" placeholder="search [[ name|pluralize ]]">
|
|
<input type="submit">
|
|
</form>
|
|
{% endif %} |