form

NAML documentation   Watch a video
   Usages of this macro
... in utilities.naml
909
910
911
912
913
914
915
916
917
<macro name="form" dot_parameter="content" parameters="macro,method,onsubmit" requires="servlet">
    <n.set_var
Binary
Namespace: BasicNamespace
Parameters: name, value
. name="macro"><n.default
Binary
Namespace: BasicNamespace
Parameters: to, text
. to="[n.page_template
Binary
Namespace: HtmlNamespace
/]"><n.macro/></n.default.></n.set_var.>
    <form method="[n.default
Binary
Namespace: BasicNamespace
Parameters: to, text
. to='POST'][n.method/][/n.default.]" action="/template/NamlServlet.jtp?[n.var
Binary
Namespace: BasicNamespace
Parameters: name
 name='macro'/]" onsubmit="[n.onsubmit/]" accept-charset="UTF-8">
        <input type="hidden" name="macro" value="[n.var
Binary
Namespace: BasicNamespace
Parameters: name
 name='macro'/]" />
        <n.node_field
Macro
Parameters: do
.hidden
Macro
Requires: field
/>
        <n.user_field
Macro
Parameters: do
.hidden
Macro
Requires: field
/>
        <n.content/>
    </form>
</macro>