Skip to content


Subversion checkout URL

You can clone with
Download ZIP
tree: e590b3600c
Fetching contributors…

Cannot retrieve contributors at this time

27 lines (20 sloc) 1.027 kB
From: Bryan Larsen <>
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:
app/views/projects/show.dryml | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/app/views/projects/show.dryml b/app/views/projects/show.dryml
index d15c65e..c961469 100644
--- a/app/views/projects/show.dryml
+++ b/app/views/projects/show.dryml
@@ -12,7 +12,9 @@
<h2>Project Members</h2>
- <collection:memberships part="members"/>
+ <collection:memberships part="members">
+ <card><heading:><a:user/></heading:></card>
+ </collection>
< update="members" reset-form refocus-form>
Jump to Line
Something went wrong with that request. Please try again.