Skip to content

passing :id to day() - can id be based on the collection #10

@chewmanfoo

Description

@chewmanfoo

This is what I need to achieve:

<% calendar.day(:day_method => :target_date,:id => !blackouts.empty? ? "blackout" : "") do |date, blackouts| %>

I know that's referencing blackouts before blackouts is created. How would one do this?

Thanks in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions