[{block name="ordermanager_admin_action_sendpushnotification"}]
    <dl class="[{$blActionRestriction}]">
        [{include file="@d3ordermanager/admin/inc/d3ordermanager_activeswitch.tpl" oActionRequ=$oAction blActionRestriction=$blActionRestriction readonly=$readonly}]
        <dd>
            [{if $oView->isEditMode()}]
                [{block name="ordermanager_admin_action_sendpushnotification_editor"}]
                    <label for="ActionOrderSendPushNotificationUrl">[{oxmultilang ident="D3_ORDERMANAGER_ACTION_ORDERSENDPUSHNOTIFICATION_URL"}]</label>
                    <input id="ActionOrderSendPushNotificationUrl" type="text" name="value[sActionSendPushNotification_url]" size="30" maxlength="150" value="[{$edit->getValue('sActionSendPushNotification_url')}]" [{$blActionRestriction}] [{$readonly}]>
                    [{oxinputhelp ident="D3_ORDERMANAGER_ACTION_ORDERSENDPUSHNOTIFICATION_URL_DESC"}]<br>

                    <label for="ActionOrderSendPushNotificationMethod">[{oxmultilang ident="D3_ORDERMANAGER_ACTION_ORDERSENDPUSHNOTIFICATION_METHOD"}]</label>
                    <select id="ActionOrderSendPushNotificationMethod" name="value[sActionSendPushNotification_method]" [{$readonly}]>
                        <option value="GET" [{if $edit->getValue('sActionSendPushNotification_method') == 'GET'}]selected="selected"[{/if}]>GET</option>
                        <option value="POST" [{if $edit->getValue('sActionSendPushNotification_method') == 'POST' || $edit->getValue('sActionSendPushNotification_method') == ''}]selected="selected"[{/if}]>POST</option>
                        <option value="PUT" [{if $edit->getValue('sActionSendPushNotification_method') == 'PUT'}]selected="selected"[{/if}]>PUT</option>
                        <option value="HEAD" [{if $edit->getValue('sActionSendPushNotification_method') == 'HEAD'}]selected="selected"[{/if}]>HEAD</option>
                        <option value="DELETE" [{if $edit->getValue('sActionSendPushNotification_method') == 'DELETE'}]selected="selected"[{/if}]>DELETE</option>
                    </select>
                    [{oxinputhelp ident="D3_ORDERMANAGER_ACTION_ORDERSENDPUSHNOTIFICATION_DESC"}]
                [{/block}]
            [{else}]
                [{block name="ordermanager_admin_action_sendpushnotification_viewer"}]
                    [{oxmultilang ident="D3_ORDERMANAGER_ACTION_ORDERSENDPUSHNOTIFICATION_URL"}] [{$edit->getValue('sActionSendPushNotification_url')}]
                [{/block}]
            [{/if}]
        </dd>
        <div class="spacer"></div>
    </dl>
[{/block}]