search_box

NAML documentation   Watch a video
   Usages of this macro
... in search_box.naml
1
2
3
4
5
6
<override_macro name="search_box" requires="node">
    <n.search_form
Macro
Requires: node
Parameters: author, query, days, style, do
.>
        <input id="search-input" name="query" size="18" class="medium-border-color" style="margin-top: 10px;"/>
        <n.search_box_dropdown
Macro
Requires: node
/>
    </n.search_form.>
</override_macro>
Overrides default macro
... in utilities.naml
780
781
782
783
784
785
<macro name="search_box" requires="node">
    <n.search_form.>
        <input id="search-input" name="query" size="18" class="medium-border-color"/>
        <n.search_box_dropdown/>
    </n.search_form.>
</macro>