Commit a2a3983c authored by Stefan Busemann's avatar Stefan Busemann
Browse files

[WIP] Display role edit buttons

parent 0624222d
......@@ -11,4 +11,12 @@
</p>
<f:link.action action="update" arguments="{member: member}" class="btn btn-primary">update</f:link.action>
<f:link.action action="show" arguments="{member: member}" class="btn btn-secondary">cancel</f:link.action>
<f:for each="{member.roles}" as="role">
<p><f:debug>{role}</f:debug></p>
<p>{role.role}, {role.frontendUser} <f:link.action action="editRole" arguments="{member: member, role: role}" class="btn btn-primary">Edit</f:link.action></p>
</f:for>
<p><f:link.action action="updateRole" arguments="{member: member}" class="btn btn-primary">Edit</f:link.action></p></p>
<p><f:link.action action="addRole" arguments="{member: member}" class="btn btn-primary">Edit</f:link.action></p></p>
<p><f:link.action action="removeRole" arguments="{member: member}" class="btn btn-primary">Edit</f:link.action></p></p>
</f:section>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment