fix: removing country from origin

This commit is contained in:
Iain Learmonth 2023-10-29 19:18:05 +00:00
parent 0e0d499428
commit 629993301a

View file

@ -192,7 +192,7 @@ def origin_country_remove(origin_id: int, country_id: int) -> ResponseReturnValu
except sqlalchemy.exc.SQLAlchemyError:
flash("An error occurred saving the changes to the origin.", "danger")
return render_template("lifecycle.html.j2",
header=f"Remove {country.country_name} from the {origin.domain_name} origin?",
header=f"Remove {country.description} from the {origin.domain_name} origin?",
message="Stop monitoring in this country.",
section="origin",
origin=origin, form=form)