{% 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-templates-add-edit-action', 'yop-poll-templates-add-edit-name', false, false ) | raw }}
{% from "form_macros.html" import yop_poll_general_options_label as label %}

{{ __("Poll Templates") }}

    {% if count( templates ) > 0 %} {% set i = 0 %} {% for template in templates %}
  • {{template.name|e}}


    {% if ( current_user_can( 'edit_own_polls_templates') and template.poll_author == current_user.ID ) or ( current_user_can( 'edit_yop_polls' ) ) %} {{__( "Edit")}} | {%endif%} {% if ( current_user_can( 'delete_own_polls_templates') and template.poll_author == current_user.ID ) or ( current_user_can( 'delete_yop_polls' ) ) %} {{__( "Delete")}} | {%endif%} {% if ( current_user_can( 'clone_own_polls_templates') and template.poll_author == current_user.ID ) or ( current_user_can( 'delete_yop_polls' ) ) %} {{__( "Clone" )}} {%endif%}

    {{template.preview|raw}}
  • {% set i = i+1 %} {% endfor %} {% endif %}

  • {{ __('Red Pro')}}


  • {{ __('Green v1 Pro')}}


  • {{ __('Orange v1 Pro')}}


  • {{ __('Dark Pro')}}


  • {{ __('Grey v3 Pro')}}


  • {{ __('Grey v2 Pro')}}


  • {{ __('Grey v1 Pro')}}


  • {{ __('Grey Pro')}}


  • {{ __('Blue v3 Pro')}}


  • {{ __('Blue v2 Pro')}}


  • {{ __('Blue v1 Pro')}}


  • {{ __('White Pro')}}


{%endblock content%}