<form method="post" action="/forms/v1/directory/sync/" data-element="popup" data-id="synchronize_search"{{#if this.position}} data-position="{{this.position}}"{{/if}}>
    {{#if (more this.org.users_count 10000)}}
    <div class="note field">
        {{i18n "service_details.note.search_sync.organization_too_big"}}
    </div>
    <div class="actions">
        <label for="cancel_synchronize_search" class="button" data-action="cancel">{{i18n "common.action.cancel"}}</label>
    </div>
    {{else}}
    <div class="actions">
        <button type="submit" class="highlighted" data-action="ok">{{i18n "service_details.form.action.synchronize_search"}}</button>
        <label for="cancel_synchronize_search" class="button" data-action="cancel">{{i18n "common.action.cancel"}}</label>
    </div>
    {{/if}}
    <input type="hidden" name="org_id" value="{{this.org.id}}">
    <input type="hidden" name="_api" value="isearch">
</form>
