Selection?

hello everyone

I have a question about selection.

template_path =
“#{get_plugin_root}/public/converter/templates/#{params[:template]}.xml”
converter_generate(sheet_id,date, output_path, template_path)

template_path argument of the method is taken from selection. least I
want to do it.
my selection is like

csv template_of_roster template_of_roster1 template_of_roster2 template_of_roster3 in the view page. how can I add the selected value to my params[:template].