Class: Decidim::Meetings::Admin::MeetingAgendaItemsForm

Inherits:
Form
  • Object
show all
Includes:
TranslatableAttributes
Defined in:
app/forms/decidim/meetings/admin/meeting_agenda_items_form.rb

Overview

This class holds a Form to update meeting agenda items

Instance Method Summary collapse

Instance Method Details

#to_paramObject



23
24
25
26
27
# File 'app/forms/decidim/meetings/admin/meeting_agenda_items_form.rb', line 23

def to_param
  return id if id.present?

  "meeting-agenda-item-id"
end

#to_param_childObject



29
30
31
32
33
# File 'app/forms/decidim/meetings/admin/meeting_agenda_items_form.rb', line 29

def to_param_child
  return id if id.present?

  "meeting-agenda-item-child-id"
end