Module: Card::Set::Abstract::RightFilterForm::HtmlFormat

Extended by:
Card::Set::AbstractFormat
Defined in:
card/tmpsets/set/mod035-card-mod-search/abstract/04_right_filter_form.rb,
card/tmpsets/set/mod036-card-mod-search/abstract/04_right_filter_form.rb

Instance Method Summary collapse

Instance Method Details

#filter_action_pathObject



18
19
20
# File 'card/tmpsets/set/mod035-card-mod-search/abstract/04_right_filter_form.rb', line 18

def filter_action_path
  path mark: card.name.left, view: filter_view
end

#filter_selectorObject



30
31
32
# File 'card/tmpsets/set/mod035-card-mod-search/abstract/04_right_filter_form.rb', line 30

def filter_selector
  ".#{filter_view}-view"
end

#filter_viewObject



26
27
28
# File 'card/tmpsets/set/mod035-card-mod-search/abstract/04_right_filter_form.rb', line 26

def filter_view
  :filter_result
end

#view: coreObject



22
23
24
# File 'card/tmpsets/set/mod035-card-mod-search/abstract/04_right_filter_form.rb', line 22

view :core, cache: :never do
  filter_fields slot_selector: filter_selector
end