app/helpers/items_helper.rb
# returns the list of script_items for the given item,
# as is used in options_for_select
returns the list of script_items for the given item,
as is used in options_for_select
returns the list of script_items for the given item as is used in options_for_select
def select_script_items(lecture)
    lecture.script_items_by_position.map do |i|
      [i.title_within_lecture, i.pdf_destination]
    end
  end
def select_script_items ( lecture ) lecture . script_items_by_position . map do | i | [ i . title_within_lecture , i . pdf_destination ] end end
returns the list of script_items for the given item,
as is used in options_for_select
returns the list of script_items for the given item as is used in options_for_select
lecture
<not_specific>