Iterate over workspace roles to display available role filters

This commit is contained in:
Montana
2018-10-31 11:31:58 -04:00
parent 23172c7506
commit 3e1c813ceb
2 changed files with 9 additions and 4 deletions

View File

@@ -71,9 +71,9 @@
<select v-model="role" id="filter-role" name="filter-role">
<option value="" selected disabled>Filter by role</option>
<option value="all">View All</option>
<option value="administrator">Administrator</option>
<option value="ccpo">CCPO</option>
<option value="developer">Developer</option>
{% for role in choices %}
<option value='{{ role.name }}'>{{ role.display_name }}</option>
{% endfor %}
</select>
</div>
</form>