Skip to content

Commit

Permalink
fix formatting issue with displaying errors. #57
Browse files Browse the repository at this point in the history
  • Loading branch information
alexskr committed Sep 7, 2023
1 parent f09fd35 commit 507e7b1
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions app/views/submissions/_form.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,14 @@
%strong Errors On Form
%ul
- for error in @errors
%li
= error
- if error.is_a? Array
%ul
- error[1].each do |key, message|
%li
= message
- else
%li
= error

= hidden_field :submission, :ontology, value: @ontology.id

Expand Down

0 comments on commit 507e7b1

Please sign in to comment.