app/models/service_learning/service_learning_position.rb
def title_for_dropdown(service_learning_course = nil)
    t = "#{title}  at  #{organization.name}"
    if service_learning_course
      t << " - #{pluralize placements.open_for(service_learning_course).size, "slot"} open)"
    end
    t
  end
# Provides a textual representation of this position, suitable for use in selection dropdowns. Accepts an optional
# +service_learning_course+ which will show number of open slots for that course.
Provides a textual representation of this position, suitable for use in selection dropdowns. Accepts an optional
+service_learning_course+ which will show number of open slots for that course.
Provides a textual representation of this position suitable for use in selection dropdowns . Accepts an optional + service_learning_course + which will show number of open slots for that course .
def title_for_dropdown(service_learning_course = nil)
    t = "#{title}  at  #{organization.name}"
    if service_learning_course
      t << " - #{pluralize placements.open_for(service_learning_course).size, "slot"} open)"
    end
    t
  end
def title_for_dropdown ( service_learning_course = nil ) t = "#{title}  at  #{organization.name}" if service_learning_course t << " - #{pluralize placements.open_for(service_learning_course).size, "slot"} open)" end t end
Provides a textual representation of this position, suitable for use in selection dropdowns.
Provides a textual representation of this position suitable for use in selection dropdowns .
service_learning_course