File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1414{% endblock %}
1515
1616{% block _sylius_payment_method_gatewayConfig_config_secretKey_row %}
17- </div >{# close previous <div.two.fields> to avoid 2 columns #}
17+ {% set isOney = constant (' PayPlug\\SyliusPayPlugPlugin\\Gateway\\PayPlugGatewayFactory::ONE_CLICK' ) not in form .parent .children | keys %}
18+ {% if isOney %}
19+ </div >{# close previous <div.two.fields> to avoid 2 columns #}
20+ {% endif %}
1821 <div class =" {% if required %}required {% endif %}field{% if (not compound or force_error | default (false )) and not valid %} error{% endif %}" >
1922 {{- form_label(form ) -}}
2023 {{- form_widget(form ) -}}
2326 </span >
2427 {{- form_errors(form ) -}}
2528 </div >
26- <div class =" required field" >
29+ {% if isOney %}
30+ <div class =" required field" >
31+ {% endif %}
2732{% endblock %}
2833
2934{% block _sylius_payment_method_gatewayConfig_config_fees_for_row %}
You can’t perform that action at this time.
0 commit comments