Skip to content
This repository has been archived by the owner on Sep 21, 2023. It is now read-only.

Sorting out validations/error messages and copy in uploader steps. #145

Merged
merged 2 commits into from
Feb 2, 2017

Conversation

zheileman
Copy link
Member

This first PR will implement copy changes and validations and also will add the
new DB field having_problems_uploading_details used for the appeal flow.

Another PR will be created for styling and dropzone JS changes.

This first PR will implement copy changes and validations and also will add the
new DB field `having_problems_uploading_details` used for the appeal flow.
Copy link
Contributor

@csutter csutter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

One small comment on the naming.

tribunal_case.documents.any? || errors.add(:original_notice_provided, :no_documents)
end

def letter_checkboxes
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

documents_uploaded is a verb statement, might be good to have this as one as well so it fits in the validation.

How about letter_checkboxes_ticked?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree.

@zheileman zheileman merged commit 8f3edc7 into master Feb 2, 2017
@zheileman zheileman deleted the document-upload-validations-copy branch February 2, 2017 16:49
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants