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.15.4 lib/six-updater-web/vendor/plugins/activescaffold_advanced_search/lib/helpers/view_helpers.rb
six-updater-web-0.15.3 lib/six-updater-web/vendor/plugins/activescaffold_advanced_search/lib/helpers/view_helpers.rb
six-updater-web-0.15.2 lib/six-updater-web/vendor/plugins/activescaffold_advanced_search/lib/helpers/view_helpers.rb
six-updater-web-0.15.1 lib/six-updater-web/vendor/plugins/activescaffold_advanced_search/lib/helpers/view_helpers.rb
six-updater-web-0.14.12 lib/six-updater-web/vendor/plugins/activescaffold_advanced_search/lib/helpers/view_helpers.rb
six-updater-web-0.14.10 lib/six-updater-web/vendor/plugins/activescaffold_advanced_search/lib/helpers/view_helpers.rb
six-updater-web-0.14.9 lib/six-updater-web/vendor/plugins/activescaffold_advanced_search/lib/helpers/view_helpers.rb
six-updater-web-0.14.8 lib/six-updater-web/vendor/plugins/activescaffold_advanced_search/lib/helpers/view_helpers.rb
six-updater-web-0.14.7 lib/six-updater-web/vendor/plugins/activescaffold_advanced_search/lib/helpers/view_helpers.rb
six-updater-web-0.14.6 lib/six-updater-web/vendor/plugins/activescaffold_advanced_search/lib/helpers/view_helpers.rb
six-updater-web-0.14.5 lib/six-updater-web/vendor/plugins/activescaffold_advanced_search/lib/helpers/view_helpers.rb
six-updater-web-0.14.4 lib/six-updater-web/vendor/plugins/activescaffold_advanced_search/lib/helpers/view_helpers.rb
six-updater-web-0.14.3 lib/six-updater-web/vendor/plugins/activescaffold_advanced_search/lib/helpers/view_helpers.rb
six-updater-web-0.14.2 lib/six-updater-web/vendor/plugins/activescaffold_advanced_search/lib/helpers/view_helpers.rb
six-updater-web-0.14.1 lib/six-updater-web/vendor/plugins/activescaffold_advanced_search/lib/helpers/view_helpers.rb
six-updater-web-0.13.6 lib/six-updater-web/vendor/plugins/activescaffold_advanced_search/lib/helpers/view_helpers.rb
six-updater-web-0.13.5 lib/vendor/plugins/activescaffold_advanced_search/lib/helpers/view_helpers.rb
six-updater-web-0.13.4 lib/vendor/plugins/activescaffold_advanced_search/lib/helpers/view_helpers.rb
six-updater-web-0.13.3 lib/vendor/plugins/activescaffold_advanced_search/lib/helpers/view_helpers.rb
six-updater-web-0.13.2 lib/vendor/plugins/activescaffold_advanced_search/lib/helpers/view_helpers.rb