extra_fields

NAML documentation   Watch a video
   Usages of this macro
... in reply.naml
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
<macro name="extra_fields" dot_parameter="fields" requires="node_page">
    <n.put_in_head
Binary
Namespace: HtmlNamespace
Parameters: in_head
.>
        <style type="text/css">
            div.extra-fields {
                margin-top:.5em;
            }
            div.extra-field {
                width:2em;
                float:left;
                text-align:center;
            }
            div.extra-field-details {
                border-left-width:2px;
                border-left-style:dotted;
                margin-left:2.5em;
                padding:0 0 1em 1em;
            }
        </style>
        <script type="text/javascript">
            $(document).ready(function(){
                $('div.extra-fields').each(function() {
                    $(this).children().first().wrap('<div class="extra-field"></div>');
                });
            });
        </script>
    </n.put_in_head.>
    <n.fields/>
</macro>