Sha256: 9eb1b05179ce73a25c2c0a9d760e0c7d6f045e7bded58f4d06b2b949cc5a1f0c
Contents?: true
Size: 718 Bytes
Versions: 4
Compression:
Stored size: 718 Bytes
Contents
format :html do view :raw do wrap_with :div, class: "form-group w-100" do text_field_tag :_keyword, "", class: "_navbox navbox form-control w-100", placeholder: navbar_placeholder end end def navbar_placeholder @@placeholder ||= begin holder_card = Card["#{Card[:navbox].name}+*placeholder"] holder_card ? holder_card.raw_content : "Search" end end view :navbar do class_up "navbox-form", "form-inline w-25" _render_core end view :core do form_tag Card.path_setting("/:search"), method: "get", role: "search", class: classy("navbox-form", "nodblclick") do _render_raw end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
card-1.92.2 | mod/standard/set/self/navbox.rb |
card-1.92.1 | mod/standard/set/self/navbox.rb |
card-1.92 | mod/standard/set/self/navbox.rb |
card-1.91 | mod/standard/set/self/navbox.rb |