Skip to content

Commit

Permalink
removing-members-2
Browse files Browse the repository at this point in the history
We have a problem -- the membership card doesn't display the user's name. There are two ways we could fix this. We could either customise the global membership card using `<extend tag="card" for="Membership">` in `application.dryml`, or we could customise *this particular usage* of the membership card. Let's do the latter. Modify the `<collection:memberships>` as follows:

SHOW_PATCH
  • Loading branch information
bryanlarsen committed Nov 14, 2011
1 parent 01e9301 commit 86744fa
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/views/projects/show.dryml
Expand Up @@ -12,7 +12,9 @@

<aside:>
<h2>Project Members</h2>
<collection:memberships part="members"/>
<collection:memberships part="members">
<card><heading:><a:user/></heading:></card>
</collection>

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

0 comments on commit 86744fa

Please sign in to comment.