Sha256: c06704e184cab3248e118f09f932f7a504ace95efa731a1d64b0b6f3faeab8a5

Contents?: true

Size: 481 Bytes

Versions: 4

Compression:

Stored size: 481 Bytes

Contents

= simple_form_for(@tag_search, url: ecm_tags.tag_searchs_path) do |f|
  = f.input :tag_list
  = f.input :fuzzy, as: :boolean
  = f.button :submit, class: 'btn btn-primary'

#tag_search_result
  - @result.each do |class_name, resources|
    - next if resources.empty?
    %h2= class_name.constantize.model_name.human(count: :other)
    = render partial: "#{class_name.tableize}/#{class_name.demodulize.underscore}", collection: resources, as: class_name.demodulize.underscore.to_sym

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ecm_tags-0.0.4 app/views/ecm/tags/tag_searchs/new.haml
ecm_tags-0.0.3 app/views/ecm/tags/tag_searchs/new.haml
ecm_tags-0.0.2 app/views/ecm/tags/tag_searchs/new.haml
ecm_tags-0.0.1 app/views/ecm/tags/tag_searchs/new.haml