Permalink
Browse files

removing-members-2

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 authored and iox committed Jun 3, 2013
1 parent 1e37b87 commit bded07bc320b18f2d111584a1a1b9e1eab33985c
Showing with 3 additions and 1 deletion.
  1. +3 −1 app/views/projects/show.dryml
@@ -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>

0 comments on commit bded07b

Please sign in to comment.