{% extends "polls_base.html" %} {% block addnew %} {{ __("Add New") }} {% endblock addnew %} {% block message %} {%if message.error!= ""%}
{{ message.error}}
{% else %} {%if message.succes != "" %}
{{ message.succes}}
{% endif %} {% endif%} {%endblock message %} {% block content %}
{{ wp_nonce_field( 'yop-poll-bans', 'yop-poll-ban', false, false ) | raw}}
   {{count( bans ) }} / {{total_bans}} {{__( "Bans")}} {{pagination | raw}}

{% set i=0%} {% if count( bans ) > 0 %} {% for ban in bans %} {% set confirm_value ="{{__('You are about to remove this poll ban')}}"%} {%set i=i+1%} {% endfor %} {% endif%}
{{__( "ID")}} {{__( "Poll Name" )}} {{__( "Ban Type" )}} {{__( "Ban value" )}} {{__( "Period" )}} {{__( "Unit" )}}
{{ban.id }}
{{ stripslashes(ban.name) |e}}
{{__("Delete")}} {% set id_poll= ban.id %} {% set ban_type= ban.type %} {{__("Edit")}}
{{ stripslashes(ban.type) |e}} {{ stripslashes(ban.value) |e}} {{ stripslashes(ban.period) |e}} {{ stripslashes(ban.unit) |e}}
{{ count( bans )}} / {{total_bans}} {{__( "Bans" )}} {{pagination | raw}}
{% endblock content %}