{% macro widget_prototype(form) %}

{{ 'admin:phrasea-service-setting:tab:uploader:: New uploader target' | trans }}

{{ form_row(form.target_name) }}
{{ form_widget(form.verify_ssl) }} {{ form_label(form.verify_ssl) }}
{{ form_row(form.pullmodeUri) }}
{{ form_row(form.clientSecret) }}
{{ form_row(form.clientId) }}
{% endmacro %} {{ form_start(form, {'action': path('ps_admin_uploader')}) }}

{{ 'admin:phrasea-service-setting:tab:uploader:: uploader setting' | trans }}

{{ form_widget(form.push_verify_ssl) }} {{ form_label(form.push_verify_ssl) }}

{{ 'admin:phrasea-service-setting:tab:uploader:: pull setting' | trans }}

{{ form_label(form.pullInterval) }} {{ form_widget(form.pullInterval, {'attr': {'placeholder': '60'}}) }}
{% if(running) %} {% else %} {% endif %}
{% for uploader_connection in form.pulled_target %} {{ _self.widget_prototype(uploader_connection) }} {% endfor %}
{{ form_end(form) }}