@(field: play.api.data.Field, options: Seq[(String, String)], args: (Symbol, Any)*)(implicit handler: helper.FieldConstructor, lang: Lang)

@import views.html.helper.base.valtechLabel
@import utils.helpers.CryptoHelper
@import utils.helpers._
@import utils.helpers.SelectHelper._
@import play.api.templates.PlayMagic.toHtmlArgs

@helper.input(field, args: _*) { (id, name, selectedKey, htmlArgs) =>
    @valtechLabel(field, args: _*)

    <select id="@CryptoHelper.encryptAES(field.id)" name="@CryptoHelper.encryptAES(name)" @toHtmlArgs(htmlArgs)>
        @defaultOption(htmlArgs)

        <option value="")>@Messages("select_default")</option>
        @options.map { case (mappingValue, humanReadableLabel) =>
            <option value="@mappingValue" @(if(selectedKey == Some(mappingValue)) "selected" else "")>@humanReadableLabel</option>
        }
    </select>
}
@(field: play.api.data.Field, options: Seq[(String, String)], args: (Symbol, Any)*)(implicit handler: helper.FieldConstructor, lang: Lang)

@import views.html.helper.base.valtechLabel
@import utils.helpers.CryptoHelper
@import utils.helpers._
@import utils.helpers.SelectHelper._
@import play.api.templates.PlayMagic.toHtmlArgs

@helper.input(field, args: _*) { (id, name, selectedKey, htmlArgs) =>
    @valtechLabel(field, args: _*)

    <select id="@CryptoHelper.encryptAES(field.id)" name="@CryptoHelper.encryptAES(name)" @toHtmlArgs(htmlArgs)>
        @defaultOption(htmlArgs)

        <option value="">@Messages("select_default")</option>
        @options.map { case (mappingValue, humanReadableLabel) =>
            <option value="@mappingValue" @(if(selectedKey == Some(mappingValue)) "selected" else "")>@humanReadableLabel</option>
        }
    </select>
}
Remove stray closing bracket causing HTML validation errors
Remove stray closing bracket causing HTML validation errors
