@(traderLookupForm: Form[models.domain.disposal_of_vehicle.SetupTradeDetailsModel])(implicit lang: Lang)

@import helper._
@import utils.helpers.CarersTemplate._
@import views.html.helper.base._
@import views.html.common._
@import views.html.helper._
@import app.DisposalOfVehicle.SetupTradeDetails._

@main(Messages("disposal_setuptradedetails.title")) {
    @errorsSummary(traderLookupForm)

    @form(action = controllers.disposal_of_vehicle.routes.SetUpTradeDetails.submit) {

<fieldset class="form-elements" data-journey="carers-allowance:page:about-you">
    <legend>@Messages("disposal_setuptradedetails.p1")</legend>
    <ul>
        @valtechInputText(traderLookupForm(traderBusinessNameID), args =
        '_label -> Messages("disposal_setuptradedetails.tradernamelabel"),
        '_showConstraints -> false)

        @valtechInputText(traderLookupForm(traderPostcodeID), args =
        '_label -> Messages("disposal_setuptradedetails.traderpostcodelabel"),
        '_showConstraints -> false,
        'maxLength -> Mappings.Postcode.maxLength,
        'title -> Messages("disposal_setuptradedetails.traderpostcode.validation"))
    </ul>

</fieldset>

<div class="form-steps">
    <button type="submit" name="action" class="button" aria-label="Next button">@Messages("disposal_setuptradedetails.button")</button>
</div>

    }
}
@(traderLookupForm: Form[models.domain.disposal_of_vehicle.SetupTradeDetailsModel])(implicit lang: Lang)

@import helper._
@import utils.helpers.CarersTemplate._
@import views.html.helper.base._
@import views.html.common._
@import views.html.helper._
@import app.DisposalOfVehicle.SetupTradeDetails._

@main(Messages("disposal_setuptradedetails.title")) {
    @errorsSummary(traderLookupForm)

    @form(action = controllers.disposal_of_vehicle.routes.SetUpTradeDetails.submit) {

    <h2>@Messages("disposal_setuptradedetails.p1")</h2>
    <div class="form-elements">
	    <ul>
	        @valtechInputText(traderLookupForm(traderBusinessNameID), args =
	        '_label -> Messages("disposal_setuptradedetails.tradernamelabel"),
	        '_showConstraints -> false)
	
	        @valtechInputText(traderLookupForm(traderPostcodeID), args =
	        '_label -> Messages("disposal_setuptradedetails.traderpostcodelabel"),
	        '_showConstraints -> false,
	        'maxLength -> Mappings.Postcode.maxLength,
	        'title -> Messages("disposal_setuptradedetails.traderpostcode.validation"))
	    </ul>
    </div>

	<div class="form-steps">
	    <button type="submit" name="action" class="button" aria-label="Next button">@Messages("disposal_setuptradedetails.button")</button>
	</div>

    }
}
Tidy up of Setup Trade Details view
Tidy up of Setup Trade Details view
