enter image description hereI am trying to use Captcha inside my project but get a parser error with the following code...struggling to eliminate it

@{MvcCaptcha registrationCaptcha = CaptchaHelper.GetRegistrationCaptcha(); }
@if (!registrationCaptcha.IsSolved)
    <div class="form-group">
        <div class="col-md-offset-4 col-md-8">
        @Html.Label("Retype the code", new { @class = "col-md-4 control-label", @for = "CaptchaCode" })
        <div class="col-md-8">
            @Html.TextBox("CaptchaCode", null, new { @class = "form-control captchaVal" })

What would the cause be of the parser error?

Related posts

Recent Viewed