Sha256: 3824709a0f77f20fffacac230f37d3b316e216e3da4ec2510f41b417ae654869
Contents?: true
Size: 714 Bytes
Versions: 1
Compression:
Stored size: 714 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.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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
card-1.93.0 | mod/search/set/self/navbox.rb |