blog/webapp/templates/blog_post/_action_search.html
Daniel Tsvetkov d1191c782d new perms
2021-05-15 01:04:17 +02:00

6 lines
235 B
HTML

{% if has_permission('blog_post', 'search') %}
<form action="{{ url_for('search_blog_post') }}">
<input type="text" name="q" value="{{ request.args.q }}" placeholder="search BlogPosts">
<input type="submit">
</form>
{% endif %}