Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
removing-members
## Removing members

The sidebar we just implemented has an obvious draw-back -- there's no way to remove members. In typical RESTful style, removing a member is achieved by deleting a membership. What we'd like is a delete button on each card that removes the membership. That means what we really want are *Membership* cards in the sidebar (at the moment they are User cards). So, in `projects/show.dryml`, change:

SHOW_PATCH
  • Loading branch information
bryanlarsen authored and iox committed Aug 12, 2013
1 parent 2b91807 commit 1e37b87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/projects/show.dryml
Expand Up @@ -12,7 +12,7 @@

<aside:>
<h2>Project Members</h2>
<collection:members part="members"/>
<collection:memberships part="members"/>

<form:memberships.new update="members" reset-form refocus-form>
<div>
Expand Down

0 comments on commit 1e37b87

Please sign in to comment.