Skip to content

Include number of attendees in event card #3

Description

@luanzeba

Problem statement

When visualizing events, a user has no idea how many people have already RSVP'd to it. We should add that information to the card using the following message:

X people attending

where X is the number of registrations to that event.

CleanShot 2022-05-22 at 09 50 59@2x

How to fix it

The code for the event card lives in app/views/events/_event.html.erb, so that's the first place you should look.
Look at the picture I shared above and think about how you would add the number of attendants.

I'd be happy to review your implementation when I have time. Please open a pull request following these steps:

  1. Follow this guide to setup your forked repo
  2. Checkout a development branch
  3. Implement your changes
  4. Open a pull request and tag me for review

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions