18F / 2015-foia-hub

A consolidated FOIA request hub.
Other
48 stars 17 forks source link

Removing styling from validatr's error messages. #819

Closed geramirez closed 9 years ago

geramirez commented 9 years ago

@vz This PR removes all the styling for the error messages.

Unfortunately, I wasn't able to validate the page on load; however, now all the error will show up on the page at the same time.

For documentation purposes

Before working on this PR, I tried to use jqueryvalidation again but it failed because Django Form Set auto populates the the name attributes of the form element for use on the backend and jqueryvalidation uses the name element for validation.

After some thought, I think the best way to fix these issues to use the API and JS to generate a form set entirely on the front-end. This data will never touch our database directly, so I think it's OK to get rid of Django forms.