Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove attachment useless code to show errors #3717

Merged

Conversation

Senen
Copy link
Member

@Senen Senen commented Sep 23, 2019

References

Related Pull Requests: #1915

Objectives

Rails form helper already adds an error css class to attachment label when it has any validation errors. Furthermore these lines was always overwritten by the next one so it has no sense to keep them.

Visual Changes

None

Notes

None

Rails form already add an error class when image or document attachments
has validations errors.
@javierm javierm added this to Reviewing in Roadmap via automation Sep 23, 2019
@javierm javierm added the Linters Rubocop, ERB Lint, ESLint, SCSS-Lint, ... label Sep 23, 2019
Roadmap automation moved this from Reviewing to Testing Sep 23, 2019
@javierm javierm merged commit 9182c83 into consuldemocracy:master Sep 23, 2019
Roadmap automation moved this from Testing to Release 1.1.0 Sep 23, 2019
smarques pushed a commit to venetochevogliamo/consul that referenced this pull request Apr 29, 2020
…label-errors

Remove attachment useless code to show errors
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Linters Rubocop, ERB Lint, ESLint, SCSS-Lint, ...
Projects
No open projects
Roadmap
  
Release 1.1.0
Development

Successfully merging this pull request may close these issues.

None yet

2 participants