<% value_class = file_container_option.class.to_s -%> <% value = file_container_option.id -%> <% selected_txt = selected == "#{value_class}_#{value}" ? ' selected="selected" ' : '' %>