Module: Card::Set::Self::Navbox::HtmlFormat

Extended by:
AbstractFormat
Defined in:
tmpsets/set/mod020-search/self/navbox.rb

Instance Method Summary collapse

Instance Method Details

TODO: the more natural placeholder would be the content of the navbox card, no? Also, the forced division of "raw" and "core" should probably be replaced with a single haml template (for core view)



20
21
22
23
24
25
# File 'tmpsets/set/mod020-search/self/navbox.rb', line 20

def navbar_placeholder
  @@placeholder ||= begin
    holder_card = Card["#{Card[:navbox].name}+*placeholder"]
    holder_card ? holder_card.content : "Search"
  end
end