Add an alert for successful role update

This commit is contained in:
Montana
2018-09-04 10:34:30 -04:00
parent 8faed87e00
commit ce44e4537a
2 changed files with 17 additions and 1 deletions

View File

@@ -33,6 +33,18 @@
) }}
{% endif %}
{% set updated_member_name = request.args.get("memberName") %}
{% if updated_member_name %}
{% set message -%}
<p>{{ updated_member_name }}'s role was successfully updated.</p>
{%- endset %}
{{ Alert('Workspace role updated successfully',
message=message,
level='success'
) }}
{% endif %}
<form class='search-bar'>
<div class='usa-input search-input'>
<label for='members-search'>Search members by name</label>