<commit_before>@(confirmViewModel: models.ConfirmViewModel,
        vehicleDetails: uk.gov.dvla.vehicles.presentation.common.model.VehicleAndKeeperDetailsModel)(implicit lang: Lang,
        token: uk.gov.dvla.vehicles.presentation.common.filters.CsrfPreventionAction.CsrfPreventionToken,
        config: utils.helpers.Config,
        dateService: uk.gov.dvla.vehicles.presentation.common.services.DateService)

@import uk.gov.dvla.vehicles.presentation.common.views.html.widgets.base.valtechDeclareCheck
@import uk.gov.dvla.vehicles.presentation.common.views.helpers.BaseTemplate.fieldConstructor
@import uk.gov.dvla.vehicles.presentation.common.views.html.widgets.base.csrfTokenHiddenField
@import views.html.helper.form
@import views.html.common.vehicle_details_playback
@import views.html.vrm_assign.main
@import views.vrm_assign.Confirm._
@import uk.gov.dvla.vehicles.presentation.common.views.html.widgets.optionalToggle
    @import uk.gov.dvla.vehicles.presentation.common.views.html.widgets.email

@main(
    title = Messages("vrm_assign_confirm.title"),
    currentForm = None,
    backNavigation = Some(controllers.routes.CaptureCertificateDetails.present())
) {

    @form(action = controllers.routes.ConfirmPayment.submit()) {
        @csrfTokenHiddenField()
        <div class="two-col">
            <div class="second-col">
                @if(confirmViewModel.hasOutstandingPayments) {
                    <h2>@Messages("vrm_assign_confirm.newRegTitle")</h2>
                    <p>@Messages("vrm_assign_confirm.outstandingFees") @confirmViewModel.replacementRegistration@Messages("vrm_assign_confirm.outstandingFees-1")</p>
                    <h3>@Messages("vrm_assign_confirm.outstandingFeesTitle")</h3>
                    @for(payment <- confirmViewModel.outstandingPaymentList) {
                        @confirmViewModel.replacementRegistration - @payment.split("£")(0)
                        <span class="renewalFee">£ @payment.split("£")(1)</span> <br>
                    }
                    <div class="renewalFeeTotalRow">
                        <span><strong>@Messages("vrm_assign_confirm.feesRelatedTotal")</strong></span>
                        <span class="renewalFee">£ @confirmViewModel.outstandingPaymentAmount</span>
                    </div>
                }
            </div>
            <div class="first-col">
@*//                @vehicle_details_playback(vehicleDetails)*@

                <div class="related">
                    <h3>@Messages("vrm_assign_confirm.feesRelatedH3")</h3>
                    <h4>@Messages("vrm_assign_confirm.feesRelatedH4")</h4>
                    <dl class="playback bg-plain">
                        @vehicleDetails.make.map { make =>
                            <dt>@Messages("vrm_assign_confirm.feesRelatedVehicleMake")</dt>
                            <dd><strong>@make</strong></dd>
                        }
                        @vehicleDetails.model.map { model =>
                            <dt>@Messages("vrm_assign_confirm.feesRelatedVehicleModel")</dt>
                            <dd><strong>@model</strong></dd>
                        }
                        <dt>@Messages("vrm_assign_confirm.feesRelatedVehicleRegistration")</dt>
                        <dd><span class="reg-number">@confirmViewModel.replacementRegistration</span></dd>
                    </dl>
                </div>

            </div>

        </div>

        <div class="form-steps">
            <button id="@ConfirmId" type="submit" name="action" class="button">@Messages("vrm_assign_confirm.outstandingFeesCta")</button>
            <br/>
            <a id="@ExitId" class="exit" href="@controllers.routes.ConfirmPayment.exit()">@Messages("vrm_assign_exit.button")</a>
        </div>
    }

    @if(config.googleAnalyticsTrackingId.isDefined) {<commit_msg>US3047 - tidy up<commit_after>@(confirmViewModel: models.ConfirmViewModel,
        vehicleDetails: uk.gov.dvla.vehicles.presentation.common.model.VehicleAndKeeperDetailsModel)(implicit lang: Lang,
        token: uk.gov.dvla.vehicles.presentation.common.filters.CsrfPreventionAction.CsrfPreventionToken,
        config: utils.helpers.Config,
        dateService: uk.gov.dvla.vehicles.presentation.common.services.DateService)

@import uk.gov.dvla.vehicles.presentation.common.views.html.widgets.base.valtechDeclareCheck
@import uk.gov.dvla.vehicles.presentation.common.views.helpers.BaseTemplate.fieldConstructor
@import uk.gov.dvla.vehicles.presentation.common.views.html.widgets.base.csrfTokenHiddenField
@import views.html.helper.form
@import views.html.common.vehicle_details_playback
@import views.html.vrm_assign.main
@import views.vrm_assign.Confirm._
@import uk.gov.dvla.vehicles.presentation.common.views.html.widgets.optionalToggle
    @import uk.gov.dvla.vehicles.presentation.common.views.html.widgets.email

@main(
    title = Messages("vrm_assign_confirm.title"),
    currentForm = None,
    backNavigation = Some(controllers.routes.CaptureCertificateDetails.present())
) {

    @form(action = controllers.routes.ConfirmPayment.submit()) {
        @csrfTokenHiddenField()
        <div class="two-col">
            <div class="second-col">
                @if(confirmViewModel.hasOutstandingPayments) {
                    <h2>@Messages("vrm_assign_confirm.newRegTitle")</h2>
                    <p>@Messages("vrm_assign_confirm.outstandingFees") @confirmViewModel.replacementRegistration@Messages("vrm_assign_confirm.outstandingFees-1")</p>
                    <h3>@Messages("vrm_assign_confirm.outstandingFeesTitle")</h3>
                    @for(payment <- confirmViewModel.outstandingPaymentList) {
                        @payment.split("£")(0)
                        <span class="renewalFee">£ @payment.split("£")(1)</span> <br>
                    }
                    <div class="renewalFeeTotalRow">
                        <span><strong>@Messages("vrm_assign_confirm.feesRelatedTotal")</strong></span>
                        <span class="renewalFee">£ @confirmViewModel.outstandingPaymentAmount</span>
                    </div>
                }
            </div>
            <div class="first-col">
                <div class="related">
                    <h3>@Messages("vrm_assign_confirm.feesRelatedH3")</h3>
                    <h4>@Messages("vrm_assign_confirm.feesRelatedH4")</h4>
                    <dl class="playback bg-plain">
                        @vehicleDetails.make.map { make =>
                            <dt>@Messages("vrm_assign_confirm.feesRelatedVehicleMake")</dt>
                            <dd><strong>@make</strong></dd>
                        }
                        @vehicleDetails.model.map { model =>
                            <dt>@Messages("vrm_assign_confirm.feesRelatedVehicleModel")</dt>
                            <dd><strong>@model</strong></dd>
                        }
                        <dt>@Messages("vrm_assign_confirm.feesRelatedVehicleRegistration")</dt>
                        <dd><span class="reg-number">@confirmViewModel.replacementRegistration</span></dd>
                    </dl>
                </div>

            </div>

        </div>

        <div class="form-steps">
            <button id="@ConfirmId" type="submit" name="action" class="button">@Messages("vrm_assign_confirm.outstandingFeesCta")</button>
            <br/>
            <a id="@ExitId" class="exit" href="@controllers.routes.ConfirmPayment.exit()">@Messages("vrm_assign_exit.button")</a>
        </div>
    }

    @if(config.googleAnalyticsTrackingId.isDefined) {
{'fraction_non_alphanumeric': 0.1302565458873314, 'fraction_numerical': 0.003967204443268976, 'mean_word_length': 2.3838926174496646, 'pattern_counts': {'":': 0, '<': 117, '<?xml version=': 0, '>': 119, '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': '7051241', 'n_tokens_mistral': 2221, 'n_tokens_neox': 2116, 'n_words': 208}