diff --git a/app/forms.py b/app/forms.py index b34cd4e..78f8b6b 100644 --- a/app/forms.py +++ b/app/forms.py @@ -5,10 +5,11 @@ from app.models import User class LoginForm(FlaskForm): + style={'class': 'ui primary button'} username = StringField('Username', validators=[DataRequired()]) password = PasswordField('Password', validators=[DataRequired()]) remember_me = BooleanField('Remember Me') - submit = SubmitField('Sign In') + submit = SubmitField('Sign In', render_kw=style) class SearchForm(FlaskForm): username = StringField('Username') diff --git a/app/templates/base.html b/app/templates/base.html index 51348d6..0f83f60 100644 --- a/app/templates/base.html +++ b/app/templates/base.html @@ -45,17 +45,18 @@ {% with messages = get_flashed_messages() %} {% if messages %} -
{% endif %} -