From 703d815a487fff7afac1aa2a723a21ce47026447 Mon Sep 17 00:00:00 2001 From: Joel Warrington Date: Tue, 3 Dec 2024 00:04:41 -0700 Subject: [PATCH] Fix typo in README example (#182) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 7011356..05c357b 100644 --- a/README.md +++ b/README.md @@ -100,7 +100,7 @@ Then use ActionView form builder helpers as you would normally: <%= f.label :password %> <%# renders a ViewComponent::Form::LabelComponent %> <%= f.password_field :password, aria: { describedby: f.field_id(:password, :description) } %> <%# renders a ViewComponent::Form::PasswordFieldComponent %> -
+
<%= f.hint :password, 'The password should be at least 8 characters long' %> <%# renders a ViewComponent::Form::HintComponent %> <%= f.error_message :password %> <%# renders a ViewComponent::Form::ErrorMessageComponent %>