<selecttype="text"ng-model="user.role"class="input-medium"ng-options="f for f in ['Viewer', 'Editor', 'Read Only Editor', 'Admin']"ng-change="updateOrgUser(user)">
<divng-repeat="tab in ['Users', 'Pending Invitations']"data-title="{{tab}}">
</div>
</div>
<divng-if="editor.index == 0">
<tableclass="grafana-options-table form-inline">
<tr>
<th>Login</th>
<th>Email</th>
<th>Role</th>
<th></th>
</tr>
<trng-repeat="user in users">
<td>{{user.login}}</td>
<td>{{user.email}}</td>
<td>
<selecttype="text"ng-model="user.role"class="input-medium"ng-options="f for f in ['Viewer', 'Editor', 'Read Only Editor', 'Admin']"ng-change="updateOrgUser(user)">