def order_selector(orders, options = {})
      render partial: "decidim/shared/orders", locals: {
        orders: orders,
        i18n_scope: options[:i18n_scope]
      }
    end
def order_selector(orders, options = {})
      render partial: "decidim/shared/orders", locals: {
        orders: orders,
        i18n_scope: options[:i18n_scope]
      }
    end
Public: It renders the order selector for the provided orders
 (Note) This method requires the javascript 'decidim/orders' to be
 present in the page.

 orders - An array of order criterias
 options - An optional hash of options
         * i18n_scope - The scope of the i18n translations