helloflask / helloflask/bootstrap-flask

How to add icon to submit button?

Open
#209 3 comments 2 reactions 0 assignees View on GitHub
docs
Dominant language
SCSS
Stars
1.2k
Forks
193
Avg merge
4m
Merged PRs (30d)
3

Description

I have a form with

submit = SubmitField('Search')

and a template with

{{ render_field(form.submit) }}

which renders to

but I want the [search icon](https://icons.getbootstrap.com/icons/search/) on the submit button instead of the text `Search`. Anybody know how to do this? Thanks.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.