liqd / aula

An online platform for political participation in schools in Germany (not in active development)
https://liqd.net
Other
27 stars 5 forks source link

User's first role can not be deleted #917

Closed andorp closed 8 years ago

andorp commented 8 years ago

Steps to reproduce:

  1. Login as admin
  2. Go to the admin pages
  3. Go to the users tab
  4. Select an existing user
  5. Add an extra role
  6. Delete the first role

Expected result:

  1. The first role is deleted

Observed result:

  1. The role still is in the list
andorp commented 8 years ago

For some reason the form element is not generated for the first element of the table

<td>
<button onclick="simplePost(event, {&quot;askConfirm&quot;:&quot;Soll diese Rolle wirklich entfernt werden?&quot;})" type="submit" class="btn-cta">Rolle löschen</button>
</td>