Skip to content

Commit 35da4fd

Browse files
authored
Merge pull request #710 from vbaderks/recaptcha-setting-fix
Change RecaptchaMinimumScore from input text to number to solve #706
2 parents c484843 + 9ce0f16 commit 35da4fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/DasBlog.Web.UI/Views/Admin/Settings.cshtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@
341341

342342
@Html.LabelFor(m => @Model.SiteConfig.RecaptchaMinimumScore, null, new { @class = "col-form-label col-sm-2" })
343343
<div class="col-sm-2">
344-
@Html.TextBoxFor(m => @Model.SiteConfig.RecaptchaMinimumScore, null, new { @class = "form-control sm-10" })
344+
@Html.TextBoxFor(m => @Model.SiteConfig.RecaptchaMinimumScore, null, new { type = "number", step="0.1", @class = "form-control sm-10" })
345345
</div>
346346
@Html.ValidationMessageFor(m => m.SiteConfig.RecaptchaMinimumScore, null, new { @class = "text-danger" })
347347

0 commit comments

Comments
 (0)