<commit_before>{namespace name='frontend/plugins/payment/sepa'}

<div class="debit">
    <p class="none">
        <input name="sSepaIban"
               type="text"
               id="iban"
               placeholder="{s name='PaymentSepaLabelIban'}{/s}{s name="RequiredField" namespace="frontend/register/index"}{/s}"
               value="{$form_data.sSepaIban|escape}"
               class="is--required{if $error_flags.sSepaIban} has--error{/if}"
               {if $payment_mean.id == $form_data.payment}required="required" aria-required="true"{/if} />
    </p>
    {if {config name=sepaShowBic}}
        <p class="none">
            <input name="sSepaBic"
                   type="text"
                   id="bic"
                   placeholder="{s namespace='frontend/plugins/payment/sepa' name='PaymentSepaLabelBic'}{/s}
                   {if {config name=sepaRequireBic}}{s name="RequiredField" namespace="frontend/register/index"}{/s}{/if}"
                   value="{$form_data.sSepaBic|escape}"
                   class="{if {config name=sepaRequireBic}}is--required {/if}{if $error_flags.sSepaBic} has--error{/if}"
                   {if $payment_mean.id == $form_data.payment && {config name=sepaRequireBic}}required="required" aria-required="true"{/if} />
        </p>
    {/if}
    {if {config name=sepaShowBankName}}
        <p class="none">
            <input name="sSepaBankName"
                   type="text"
                   id="bank"
                   placeholder="{s namespace='frontend/plugins/payment/sepa' name='PaymentSepaLabelBankName'}{/s}{if {config name=sepaRequireBankName}}{s name="RequiredField" namespace="frontend/register/index"}{/s}{/if}"
                   value="{$form_data.sSepaBankName|escape}"
                   class="{if {config name=sepaRequireBankName}}is--required {/if}{if $error_flags.sSepaBankName} has--error{/if}"
                   {if $payment_mean.id == $form_data.payment  && {config name=sepaRequireBankName}}required="required" aria-required="true"{/if} />
        </p>
    {/if}
    {if {config name=sepaSendEmail}}
        <p class="none clearfix">
            <input name="sSepaUseBillingData" type="checkbox" id="usebilling" value="true"
                {if $form_data.sSepaUseBillingData === 'true' || (!$form_data.isPost && $form_data.sSepaUseBillingData !== false)}
                    checked="checked"
                {/if}
                class="checkbox{if $error_flags.sSepaBankHolder} has--error{/if}"/>
            <label for="usebilling"  style="float:none; width:100%; display:inline">{s namespace='frontend/plugins/payment/sepa' name='PaymentSepaLabelUseBillingData'}{/s}</label>
        </p>
    {/if}
</div><commit_msg>SW-12386 - Fix SEPA field required star<commit_after>{namespace name='frontend/plugins/payment/sepa'}

<div class="debit">
    <p class="none">
        <input name="sSepaIban"
               type="text"
               id="iban"
               placeholder="{s name='PaymentSepaLabelIban'}{/s}{s name="RequiredField" namespace="frontend/register/index"}{/s}"
               value="{$form_data.sSepaIban|escape}"
               class="is--required{if $error_flags.sSepaIban} has--error{/if}"
               {if $payment_mean.id == $form_data.payment}required="required" aria-required="true"{/if} />
    </p>
    {if {config name=sepaShowBic}}
        <p class="none">
            <input name="sSepaBic"
                   type="text"
                   id="bic"
                   placeholder="{s namespace='frontend/plugins/payment/sepa' name='PaymentSepaLabelBic'}{/s}{if {config name=sepaRequireBic}}{s name="RequiredField" namespace="frontend/register/index"}{/s}{/if}"
                   value="{$form_data.sSepaBic|escape}"
                   class="{if {config name=sepaRequireBic}}is--required {/if}{if $error_flags.sSepaBic} has--error{/if}"
                   {if $payment_mean.id == $form_data.payment && {config name=sepaRequireBic}}required="required" aria-required="true"{/if} />
        </p>
    {/if}
    {if {config name=sepaShowBankName}}
        <p class="none">
            <input name="sSepaBankName"
                   type="text"
                   id="bank"
                   placeholder="{s namespace='frontend/plugins/payment/sepa' name='PaymentSepaLabelBankName'}{/s}{if {config name=sepaRequireBankName}}{s name="RequiredField" namespace="frontend/register/index"}{/s}{/if}"
                   value="{$form_data.sSepaBankName|escape}"
                   class="{if {config name=sepaRequireBankName}}is--required {/if}{if $error_flags.sSepaBankName} has--error{/if}"
                   {if $payment_mean.id == $form_data.payment  && {config name=sepaRequireBankName}}required="required" aria-required="true"{/if} />
        </p>
    {/if}
    {if {config name=sepaSendEmail}}
        <p class="none clearfix">
            <input name="sSepaUseBillingData" type="checkbox" id="usebilling" value="true"
                {if $form_data.sSepaUseBillingData === 'true' || (!$form_data.isPost && $form_data.sSepaUseBillingData !== false)}
                    checked="checked"
                {/if}
                class="checkbox{if $error_flags.sSepaBankHolder} has--error{/if}"/>
            <label for="usebilling"  style="float:none; width:100%; display:inline">{s namespace='frontend/plugins/payment/sepa' name='PaymentSepaLabelUseBillingData'}{/s}</label>
        </p>
    {/if}
</div>
{'fraction_non_alphanumeric': 0.16432791728212703, 'fraction_numerical': 0.0020310192023633676, 'mean_word_length': 2.608927381745503, 'pattern_counts': {'":': 0, '<': 35, '<?xml version=': 0, '>': 35, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5222740', 'n_tokens_mistral': 1723, 'n_tokens_neox': 1664, 'n_words': 239}