class Decidim::Meetings::MeetingMCell

for an given instance of a Meeting
This cell renders the Medium (:m) meeting card

def address

def address
  decidim_html_escape(render)
end

def can_join?

def can_join?
  model.can_be_joined_by?(current_user)
end

def date

def date
  render
end

def end_date

def end_date
  model.end_time.to_date
end

def formatted_end_time

def formatted_end_time
  model.end_time.strftime("%H:%M")
end

def formatted_start_time

def formatted_start_time
  model.start_time.strftime("%H:%M")
end

def has_authors?

def has_authors?
  true
end

def meeting_date

def meeting_date
  return render(:multiple_dates) if spans_multiple_dates?
  render(:single_date)
end

def render_authorship

def render_authorship
  cell "decidim/author", author_presenter_for(model.normalized_author)
end

def show_footer_actions?

def show_footer_actions?
  options[:show_footer_actions]
end

def spans_multiple_dates?

def spans_multiple_dates?
  start_date != end_date
end

def start_date

def start_date
  model.start_time.to_date
end

def title

def title
  present(model).title
end