Sha256: 11d96839ea703108f91e60df0cc0bf06cf5d153d869310da4a2c1baf61c490a8

Contents?: true

Size: 719 Bytes

Versions: 30

Compression:

Stored size: 719 Bytes

Contents

module ActiveScaffold

  module Helpers

    module ViewHelpers

      def active_scaffold_includes_with_advanced_search(frontend = :default)
        css = stylesheet_link_tag(ActiveScaffold::Config::Core.asset_path('advanced_search.css', frontend))
        # ie_css = stylesheet_link_tag(ActiveScaffold::Config::Core.asset_path("export-stylesheet-ie.css", frontend))
        ie_css = ""
        js = javascript_include_tag(ActiveScaffold::Config::Core.asset_path('advanced_search.js', frontend))
        active_scaffold_includes_without_advanced_search + "\n" + css + "\n<!--[if IE]>" + ie_css + "<![endif]-->\n" + js
      end
      alias_method_chain :active_scaffold_includes, :advanced_search

    end

  end

end

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
six-updater-web-0.13.1 lib/vendor/plugins/activescaffold_advanced_search/lib/helpers/view_helpers.rb
six-updater-web-0.12.7 lib/vendor/plugins/activescaffold_advanced_search/lib/helpers/view_helpers.rb
six-updater-web-0.12.6 lib/vendor/plugins/activescaffold_advanced_search/lib/helpers/view_helpers.rb
six-updater-web-0.12.5 lib/vendor/plugins/activescaffold_advanced_search/lib/helpers/view_helpers.rb
six-updater-web-0.12.4 lib/vendor/plugins/activescaffold_advanced_search/lib/helpers/view_helpers.rb
six-updater-web-0.12.3 lib/vendor/plugins/activescaffold_advanced_search/lib/helpers/view_helpers.rb
six-updater-web-0.12.2 lib/vendor/plugins/activescaffold_advanced_search/lib/helpers/view_helpers.rb
six-updater-web-0.12.1 lib/vendor/plugins/activescaffold_advanced_search/lib/helpers/view_helpers.rb
six-updater-web-0.11.2 lib/vendor/plugins/activescaffold_advanced_search/lib/helpers/view_helpers.rb
six-updater-web-0.11.1 lib/vendor/plugins/activescaffold_advanced_search/lib/helpers/view_helpers.rb