Update banners

- Adds "Create a new environment" title to info banner
- Adds a new "environment added" success banner
This commit is contained in:
Montana
2019-05-13 11:33:05 -04:00
parent b2989e99c9
commit caf3a47c68
5 changed files with 13 additions and 5 deletions

View File

@@ -159,7 +159,7 @@ def new_environment(application_id):
if env_form.validate():
Environments.create(application=application, name=env_form.name.data)
flash("application_environments_updated")
flash("environment_added", environment_name=env_form.data["name"])
return redirect(
url_for(