From cd16f08857223034e7b8bc1940b08a13e3c152c1 Mon Sep 17 00:00:00 2001 From: swaggboi Date: Sat, 5 Aug 2023 15:25:32 -0400 Subject: [PATCH] Whoopsie --- templates/page/captcha.html.ep | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/templates/page/captcha.html.ep b/templates/page/captcha.html.ep index 8a9010b..06f9bbf 100644 --- a/templates/page/captcha.html.ep +++ b/templates/page/captcha.html.ep @@ -17,11 +17,11 @@ <%= $error->[2] %> and <%= $error->[3] %>.

<% } =%> <%= label_for answer => "What roman numeral is this?: $roman_numeral" %> - <%= text_field 'answer', ( - id => 'answer', - maxlength => 1, - minlength => 1, - required => undef + <%= number_field 'answer', ( + id => 'answer', + min => 1, + max => 9, + required => undef ) %> <%= hidden_field number => $roman_numeral, id => 'number' %>