Sha256: 5fce9a07db0dd966cf8d207d72f4ee0e113b398f3a7cc1c131514bb9530d81ec

Contents?: true

Size: 273 Bytes

Versions: 9

Compression:

Stored size: 273 Bytes

Contents

- all_steps_content = resource.event&.rich_text_all_steps_content
- step_content = resource.event&.send("rich_text_#{step}_content")

- if all_steps_content.present?
  .card
    .card-body= all_steps_content

- if step_content.present?
  .card
    .card-body= step_content

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
effective_events-0.1.8 app/views/effective/event_registrations/_content.html.haml
effective_events-0.1.7 app/views/effective/event_registrations/_content.html.haml
effective_events-0.1.6 app/views/effective/event_registrations/_content.html.haml
effective_events-0.1.5 app/views/effective/event_registrations/_content.html.haml
effective_events-0.1.4 app/views/effective/event_registrations/_content.html.haml
effective_events-0.1.3 app/views/effective/event_registrations/_content.html.haml
effective_events-0.1.2 app/views/effective/event_registrations/_content.html.haml
effective_events-0.1.1 app/views/effective/event_registrations/_content.html.haml
effective_events-0.1.0 app/views/effective/event_registrations/_content.html.haml