Skip to content

Commit

Permalink
Fix typo in README example (#182)
Browse files Browse the repository at this point in the history
  • Loading branch information
joelzwarrington authored Dec 3, 2024
1 parent 96f872a commit 703d815
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 %>
<div id="<%= f.field_id(:title, :description) %>">
<div id="<%= f.field_id(:password, :description) %>">
<%= 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 %>
Expand Down

0 comments on commit 703d815

Please sign in to comment.