{% from "form_macros.html" import yop_poll_general_options_label as label %} {% from "form_macros.html" import yop_poll_input_field as input %} {% from "form_macros.html" import yop_poll_select as select %}
{{__( "Start Date" ) }}: | {{ input(convert_date(current_poll.poll_start_date,date_format), 'yop-poll-start-date', 'poll_start_date', 'text', '', 'hasDatePicker' ) }} |
---|---|
{{__( "End Date" ) }}: | |
{{__("Display Results")}}: | {{ label( __("Before Vote"), 'yop-poll-view-results-before-vote', 'yop_poll_options[view_results][]', "before", "checkbox", "yop-poll-view-results-uncheck-nc", current_poll.view_results, "before" ) }} {{ label( __("After Vote"), 'yop-poll-view-results-after-vote', 'yop_poll_options[view_results][]', "after", "checkbox", "yop-poll-view-results-uncheck-nc", current_poll.view_results, "after" ) }} {{ label( __("After Poll End Date"),'yop-poll-view-results-after-poll-end-date','yop_poll_options[view_results][]', "after-poll-end-date", "checkbox", "yop-poll-view-results-uncheck-nc", current_poll.view_results, "after-poll-end-date" ) }} {{ label( __("Never"), 'yop-poll-view-results-never', 'yop_poll_options[view_results][]', "never", "checkbox", "yop-poll-view-results-uncheck-n-all", current_poll.view_results, "never" ) }} {{ label( __("Custom Date"), 'yop-poll-view-results-custom', 'yop_poll_options[view_results][]', "custom-date", "checkbox", "yop-poll-view-results-uncheck-c-all", current_poll.view_results, "custom-date" ) }} |
{{ __("Display Results Permissions")}} | {{ label( __("Guest"), 'yop-poll-view-results-permissions-guest', 'yop_poll_options[view_results_permissions][]', "guest", "checkbox", "", current_poll.view_results_permissions, "guest" ) }} {{ label( __("Registered"), 'yop-poll-view-results-permissions-registered', 'yop_poll_options[view_results_permissions][]', "registered", "checkbox", "", current_poll.view_results_permissions, "registered" ) }} |
{{__( "Results Display")}}: | {{ label( __("Votes Number"), 'yop-poll-view-results-votes-number', 'yop_poll_options[view_results_type]', "votes-number", "radio", "", current_poll.view_results_type, "votes-number" ) }} {{ label( __("Percentages"), 'yop-poll-view-results-percentages', 'yop_poll_options[view_results_type]', "percentages", "radio", "", current_poll.view_results_type, "percentages" ) }} {{ label( __("Votes Number and Percentages"), 'yop-poll-view-results-votes-number-and-percentages', 'yop_poll_options[view_results_type]', "votes-number-and-percentages", "radio", "", current_poll.view_results_type, "votes-number-and-percentages" ) }} |
{{__( "Poll Answer Result Label")}}: | {{ input(current_poll.answer_result_label, 'yop-poll-answer-result-label', 'yop_poll_options[answer_result_label]', 'text' ) }} {{ __("Use %POLL-ANSWER-RESULT-PERCENTAGES% for showing answer percentages and %POLL-ANSWER-RESULT-VOTES% for showing answer number of votes" ) }} |
{{ __("Vote Button Label") }}: | {{ input( current_poll.vote_button_label, 'yop-poll-vote-button-label', 'yop_poll_options[vote_button_label]') }} |
{{ __("Display Results Link") }}: | {{ label( __("Yes"), 'yop-poll-view-results-link-yes', 'yop_poll_options[view_results_link]', "yes", "radio", "", current_poll.view_results_link, "yes" ) }} {{ label( __("No"), 'yop-poll-view-results-link-no', 'yop_poll_options[view_results_link]', "no", "radio", "", current_poll.view_results_link, "no" ) }} |
{{ __("Display Back To Vote Link") }}: | {{ label( __("Yes"), 'yop-poll-view-back-to-vote-link-yes', 'yop_poll_options[view_back_to_vote_link]', "yes", "radio", "", current_poll.view_back_to_vote_link, "yes" ) }} {{ label( __("No"), 'yop-poll-view-back-to-vote-link-no', 'yop_poll_options[view_back_to_vote_link]', "no", "radio", "", current_poll.view_back_to_vote_link, "no" ) }} |
{{ __("Display Total Votes") }}: | {{ label( __("Yes"), 'yop-poll-view-total-votes-yes', 'yop_poll_options[view_total_votes]', "yes", "radio", "", current_poll.view_total_votes, "yes" ) }} {{ label( __("No"), 'yop-poll-view-total-votes-no', 'yop_poll_options[view_total_votes]', "no", "radio", "", current_poll.view_total_votes, "no" ) }} |
{{ __("Display Total Answers") }}: | {{ label( __("Yes"), 'yop-poll-view-total-answers-yes', 'yop_poll_options[view_total_answers]', "yes", "radio", "", current_poll.view_total_answers, "yes" ) }} {{ label( __("No"), 'yop-poll-view-total-answers-no', 'yop_poll_options[view_total_answers]', "no", "radio", "", current_poll.view_total_answers, "no" ) }} |
{{ __("Vote Permissions") }} | {{ label( __("Guest"), 'yop-poll-vote-permisions-guest', 'yop_poll_options[vote_permisions][]', "guest", "checkbox", "", current_poll.vote_permisions, "guest" ) }} {{ label( __("Registered"), 'yop-poll-vote-permisions-registered', 'yop_poll_options[vote_permisions][]', "registered", "checkbox", "", current_poll.vote_permisions, "registered" ) }} |
{{ __("'Vote as Wordpress User' Button Label") }}: | {{ input( current_poll.vote_permisions_wordpress_label, 'yop-poll-vote-permisions-wordpress-label', 'yop_poll_options[vote_permisions_wordpress_label]') }} |
{{ __("'Vote as Anonymous User' Button Label") }} | {{ input( current_poll.vote_permisions_anonymous_label, 'yop-poll-vote-permisions-anonymous-label', 'yop_poll_options[vote_permisions_anonymous_label]') }} |
{{ __("Blocking Voters") }}: | {{ label( __("Don\'t Block"), 'yop-poll-blocking-voters-dont-block', 'yop_poll_options[blocking_voters][]', "dont-block", "checkbox", "yop-poll-blocking-voters-hide-interval", current_poll.blocking_voters, "dont-block" ) }} {{ label( __("By Cookie"), 'yop-poll-blocking-voters-cookie', 'yop_poll_options[blocking_voters][]', "cookie", "checkbox", "yop-poll-blocking-voters-show-interval", current_poll.blocking_voters, "cookie" ) }} {{ label( __("By IP"), 'yop-poll-blocking-voters-ip', 'yop_poll_options[blocking_voters][]', "ip", "checkbox", "yop-poll-blocking-voters-show-interval", current_poll.blocking_voters, "ip" ) }} {{ label( __("By User ID"), 'yop-poll-blocking-voters-user_id', 'yop_poll_options[blocking_voters][]', "user_id", "checkbox", "yop-poll-blocking-voters-show-interval", current_poll.blocking_voters, "user_id" ) }} {{ label( __("By SuperCookie"), 'yop-poll-blocking-voters-supercookie', 'yop_poll_options[blocking_voters][]', "supercookie", "checkbox", "yop-poll-blocking-voters-show-interval", current_poll.blocking_voters, "supercookie" ) }} |
{{ __("Limit Number of Votes per User") }}: | {{ label( __("Yes"), 'yop-poll-limit-number-of-votes-per-user-yes', 'yop_poll_options[limit_number_of_votes_per_user]', "yes", "radio", "", current_poll.limit_number_of_votes_per_user, "yes" ) }} {{ label( __("No"), 'yop-poll-limit-number-of-votes-per-user-no', 'yop_poll_options[limit_number_of_votes_per_user]', "no", "radio", "", current_poll.limit_number_of_votes_per_user, "no" ) }} |
{{ __("Redirect After Vote") }} : | {{ label( __("Yes"), 'yop-poll-redirect-after-vote-yes', 'yop_poll_options[redirect_after_vote]', "yes", "radio", "", current_poll.redirect_after_vote, "yes" ) }} {{ label( __("No"), 'yop-poll-redirect-after-vote-no', 'yop_poll_options[redirect_after_vote]', "no", "radio", "", current_poll.redirect_after_vote, "no" ) }} |
{{ __("Reset Poll Stats Automatically") }}: | {{ label( __("Yes"), 'yop-poll-schedule-reset-poll-stats-yes', 'yop_poll_options[schedule_reset_poll_stats]', "yes", "radio", "", current_poll.schedule_reset_poll_stats, "yes" ) }} {{ label( __("No"), 'yop-poll-schedule-reset-poll-stats-no', 'yop_poll_options[schedule_reset_poll_stats]', "no", "radio", "", current_poll.schedule_reset_poll_stats, "no" ) }} |
{{ __("Display Archive Link") }}: | {{ label( __("Yes"), 'yop-poll-view-poll-archive-link-yes', 'yop_poll_options[view_poll_archive_link]', "yes", "radio", "", current_poll.view_poll_archive_link, "yes" ) }} {{ label( __("No"), 'yop-poll-view-poll-archive-link-no', 'yop_poll_options[view_poll_archive_link]', "no", "radio", "", current_poll.view_poll_archive_link, "no" ) }} |
{{ __("Auto Generate Poll Page") }}: | {{ label( __("Yes"), 'yop-poll-auto-generate-poll-page-yes', 'yop_poll_options[auto_generate_poll_page]', "yes", "radio", "", current_poll.auto_generate_poll_page, "yes" ) }} {{ label( __("No"), 'yop-poll-auto-generate-poll-page-no', 'yop_poll_options[auto_generate_poll_page]', "no", "radio", "", current_poll.auto_generate_poll_page, "no" ) }} |
{{ __("Poll Page Url") }} | {{ input( current_poll.poll_page_url, 'yop-poll-poll-page-url', 'yop_poll_options[poll_page_url]' ) }} |
{{ __("Use CAPTCHA") }}: | {{ label( __("Yes"), 'yop-poll-use-captcha-yes', 'yop_poll_options[use_captcha]', "yes", "radio", "", current_poll.use_captcha, "yes" ) }} {{ label( __("No"), 'yop-poll-use-captcha-no', 'yop_poll_options[use_captcha]', "no", "radio", "", current_poll.use_captcha, "no" ) }} |
{{ __("Send Email Notifications") }}: |
{{ label( __("Yes"), 'yop-poll-send-email-notifications-yes', 'yop_poll_options[send_email_notifications]', "yes", "radio", "", current_poll.send_email_notifications, "yes" ) }}
{{ label( __("No"), 'yop-poll-send-email-notifications-no', 'yop_poll_options[send_email_notifications]', "no", "radio", "", current_poll.send_email_notifications, "no" ) }}
{{ __("From Name") }}:
{{ input( current_poll.email_notifications_from_name, 'yop-poll-email-notifications-from-name', 'yop_poll_options[email_notifications_from_name]' )}}
{{ __("From Email") }}:
{{ input( current_poll.email_notifications_from_email, 'yop-poll-email-notifications-from-email', 'yop_poll_options[email_notifications_from_email]' )}}
{{ __("Recipients") }}:
({{ __('Use comma separated email addresses: email@xmail.com,email2@ymail.com') }}) {{ input( current_poll.email_notifications_recipients, 'yop-poll-email-notifications-recipients', 'yop_poll_options[email_notifications_recipients]' )}} {{ __("Subject") }}: {{ input( current_poll.email_notifications_subject, 'yop-poll-email-notifications-subject', 'yop_poll_options[email_notifications_subject]' )}} {{ __("Body") }} |
{{ __("Show Poll In Archive") }}: | {{ label( __("Yes"), 'yop-poll-show-poll-in-archive-yes', 'yop_poll_options[show_poll_in_archive]', "yes", "radio", "", current_poll.show_poll_in_archive, "yes" ) }} {{ label( __("No"), 'yop-poll-show-poll-in-archive-no', 'yop_poll_options[show_poll_in_archive]', "no", "radio", "", current_poll.show_poll_in_archive, "no" ) }} |