edit_post_extra_fields

NAML documentation   Watch a video
Error Found
An error was found in the NAML code of this application – View Details | Go to NAML Editor
tag 'mailing_list_etiquette' is not an allowed here, only these are allowed: [bottom, page_name, focus]
  in new_post(custom_tweak:reply:2) - <n.new_post>
  in (custom_tweak:reply:1) - <override_macro name="reply" requires="servlet">
   Usages of this macro
The source code below doesn't have navigation links because no usage has been compiled yet. Navigation links depend on how and where the macro is used, so first you may try finding all usages of "edit_post_extra_fields".
... in poll.naml
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
<override_macro name="edit_post_extra_fields" requires="node_page">
    <n.overridden/>
 
    <n.if.both condition1="[n.page_node.parent_node.is_app/]" condition2="[n.visitor.can_create_poll_in.page_node/]">
        <then>
            <div class="extra-fields">
                <img src="/images/add.png" width="12" height="12" style="margin-top:.2em"/>
                <n.if.page_node.has_poll>
                    <then.edit_poll_form/>
                    <else.add_poll_form/>
                </n.if.page_node.has_poll>
            </div>
        </then>
    </n.if.both>
</override_macro>
Overrides default macro
... in edit_post.naml
131
132
133
134
135
136
137
138
139
140
141
142
<macro name="edit_post_extra_fields" requires="node_page">
    <n.extra_fields.>
        <n.if.visitor.is_registered>
            <then>
                <div class="extra-fields">
                    <n.alert_field.checkbox style="margin-top:.1em"/>
                    <label for="[n.alert_field.name/]"><t>Alert me by email when someone posts to this thread</t></label>
                </div>
            </then>
        </n.if.visitor.is_registered>
    </n.extra_fields.>
</macro>