Skip to content

Commit

Permalink
74 | Remove duplicate validation error on full_name field
Browse files Browse the repository at this point in the history
  • Loading branch information
emmabjj committed Jan 3, 2025
1 parent 77aa9d7 commit 0dcc23b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/views/evaluators/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
<% end %>
</div>
<%= form.text_field :full_name,
class: "usa-input #{input_error_class(form, :first_name)}",
class: "usa-input #{input_error_class(form, :last_name)}",
required: true,
autocomplete: "name",
style: "border: 1.5px solid #565c65;",
Expand All @@ -44,7 +44,6 @@
},
value: form.object.full_name
%>
<%= inline_error(form, :first_name) %>
<%= inline_error(form, :last_name) %>
</div>

Expand Down

0 comments on commit 0dcc23b

Please sign in to comment.