Sha256: 2bac56f812218f7338b41ebe4122a933065c981d39a9bf0f548bc2cac1c936bc

Contents?: true

Size: 690 Bytes

Versions: 23

Compression:

Stored size: 690 Bytes

Contents

module C80MapFloors
  module SearchGuiHelper

    # рендер поисковой формы, которая видна сверху поцентру в слое над картой
    # noinspection RubyResolve
    def render_search_gui

      # NOTE:: названия всех категорий в алфавитном порядке через запятую в одну строку возьмём из HOST-приложения
      categories_list = ::Cat.filled_cats.map { |c| c.name }.join(', ')

      render :partial => 'c80_map_floors/shared/map_row/search_gui',
             :locals => {
                 categories_list: categories_list
             }

    end

  end
end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
c80_map_floors-0.2.0.6 app/helpers/c80_map_floors/search_gui_helper.rb
c80_map_floors-0.2.0.5 app/helpers/c80_map_floors/search_gui_helper.rb
c80_map_floors-0.2.0.4 app/helpers/c80_map_floors/search_gui_helper.rb
c80_map_floors-0.2.0.3 app/helpers/c80_map_floors/search_gui_helper.rb
c80_map_floors-0.2.0.2 app/helpers/c80_map_floors/search_gui_helper.rb
c80_map_floors-0.2.0.1 app/helpers/c80_map_floors/search_gui_helper.rb
c80_map_floors-0.2.0.0 app/helpers/c80_map_floors/search_gui_helper.rb
c80_map_floors-0.1.0.25 app/helpers/c80_map_floors/search_gui_helper.rb
c80_map_floors-0.1.0.24 app/helpers/c80_map_floors/search_gui_helper.rb
c80_map_floors-0.1.0.23 app/helpers/c80_map_floors/search_gui_helper.rb
c80_map_floors-0.1.0.22 app/helpers/c80_map_floors/search_gui_helper.rb
c80_map_floors-0.1.0.21 app/helpers/c80_map_floors/search_gui_helper.rb
c80_map_floors-0.1.0.20 app/helpers/c80_map_floors/search_gui_helper.rb
c80_map_floors-0.1.0.19 app/helpers/c80_map_floors/search_gui_helper.rb
c80_map_floors-0.1.0.18 app/helpers/c80_map_floors/search_gui_helper.rb
c80_map_floors-0.1.0.17 app/helpers/c80_map_floors/search_gui_helper.rb
c80_map_floors-0.1.0.16 app/helpers/c80_map_floors/search_gui_helper.rb
c80_map_floors-0.1.0.15 app/helpers/c80_map_floors/search_gui_helper.rb
c80_map_floors-0.1.0.14 app/helpers/c80_map_floors/search_gui_helper.rb
c80_map_floors-0.1.0.13 app/helpers/c80_map_floors/search_gui_helper.rb