This commit is contained in:
swaggboi 2023-08-05 15:25:32 -04:00
parent 4584a681e0
commit cd16f08857

View File

@ -17,10 +17,10 @@
<%= $error->[2] %> and <%= $error->[3] %>.</p> <%= $error->[2] %> and <%= $error->[3] %>.</p>
<% } =%> <% } =%>
<%= label_for answer => "What roman numeral is this?: $roman_numeral" %> <%= label_for answer => "What roman numeral is this?: $roman_numeral" %>
<%= text_field 'answer', ( <%= number_field 'answer', (
id => 'answer', id => 'answer',
maxlength => 1, min => 1,
minlength => 1, max => 9,
required => undef required => undef
) %> ) %>
</div> </div>