poll_settings

NAML documentation   Watch a video
   Usages of this macro
... in poll.naml
290
291
292
293
294
295
296
297
298
<macro name="poll_settings">
    <div style="margin: .5em 0 .5em 1em">
        <t>Multiple selections allowed:</t> <n.poll_max_choices_field
Macro
Parameters: do
.input
Macro
Requires: field
Parameters: size, maxlength, tabindex, type
 type="text" size="2" maxlength="2"/><br />
        <t>Poll ends after <t.number.poll_days_left_field
Macro
Parameters: do
.input
Macro
Requires: field
Parameters: size, maxlength, tabindex, type
 type="text" size="2" maxlength="3"/> days (leave blank for unlimited).</t><br />
        <n.poll_allow_vote_change_field
Macro
Parameters: do
.checkbox
Macro
Requires: field
Parameters: style
/> <label for="poll_allow_vote_change"><t>Allow vote changes</t></label><br />
        <n.poll_show_results_before_vote_field
Macro
Parameters: do
.checkbox
Macro
Requires: field
Parameters: style
/> <label for="poll_show_results_before_vote"><t>Allow viewing results before vote</t></label><br />
        <n.poll_show_results_before_end_field
Macro
Parameters: do
.checkbox
Macro
Requires: field
Parameters: style
/> <label for="poll_show_results_before_end"><t>Allow viewing results before end date (poll creators can always view the results)</t></label>
    </div>
</macro>