{% block ordermanager_admin_action_sendpushnotification %}
    <dl class="{{ blActionRestriction }}">
        {% include "@d3ordermanager/admin/inc/d3ordermanager_activeswitch.html.twig" with {oActionRequ: oAction, blActionRestriction: blActionRestriction, readonly: readonly} %}
        <dd>
            {% if oView.isEditMode() %}
                {% block ordermanager_admin_action_sendpushnotification_editor %}
                    <label for="ActionOrderSendPushNotificationUrl">{{ translate({ 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 }}>
                    {% include "inputhelp.html.twig" with {'sHelpId': help_id("D3_ORDERMANAGER_ACTION_ORDERSENDPUSHNOTIFICATION_URL_DESC"), 'sHelpText': help_text("D3_ORDERMANAGER_ACTION_ORDERSENDPUSHNOTIFICATION_URL_DESC")} %}<br>

                    <label for="ActionOrderSendPushNotificationMethod">{{ translate({ 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"{% endif %}>GET</option>
                        <option value="POST" {% if edit.getValue('sActionSendPushNotification_method') == 'POST' or edit.getValue('sActionSendPushNotification_method') == '' %}selected="selected"{% endif %}>POST</option>
                        <option value="PUT" {% if edit.getValue('sActionSendPushNotification_method') == 'PUT' %}selected="selected"{% endif %}>PUT</option>
                        <option value="HEAD" {% if edit.getValue('sActionSendPushNotification_method') == 'HEAD' %}selected="selected"{% endif %}>HEAD</option>
                        <option value="DELETE" {% if edit.getValue('sActionSendPushNotification_method') == 'DELETE' %}selected="selected"{% endif %}>DELETE</option>
                    </select>
                    {% include "inputhelp.html.twig" with {'sHelpId': help_id("D3_ORDERMANAGER_ACTION_ORDERSENDPUSHNOTIFICATION_DESC"), 'sHelpText': help_text("D3_ORDERMANAGER_ACTION_ORDERSENDPUSHNOTIFICATION_DESC")} %}
                {% endblock %}
            {% else %}
                {% block ordermanager_admin_action_sendpushnotification_viewer %}
                    {{ translate({ ident: "D3_ORDERMANAGER_ACTION_ORDERSENDPUSHNOTIFICATION_URL" }) }} {{ edit.getValue('sActionSendPushNotification_url') }}
                {% endblock %}
            {% endif %}
        </dd>
        <div class="spacer"></div>
    </dl>
{% endblock %}