app/main.py: flash a message after deleting a word (use bootstrap alerts -- make the alert dismissable 2).
parent
c3dcc62879
commit
aace6c033e
|
@ -197,8 +197,7 @@ def get_flashed_messages_if_any():
|
|||
s = ''
|
||||
for message in messages:
|
||||
s += '<div class="alert alert-warning alert-dismissible fade show" role="alert">'
|
||||
s += '<h4 class="alert-heading">Congratulations</h4>'
|
||||
s += f'{message}'
|
||||
s += f'Congratulations! {message}'
|
||||
s += '<button type="button" class="close" data-dismiss="alert" aria-label="Close">'
|
||||
s += ' <span aria-hidden="true">×</span>'
|
||||
s += '</button>'
|
||||
|
|
Loading…
Reference in New Issue