WebDeposit: BibWorkflow integration & enhancements
- Adds form validation after POST submit and renders the errors. Co-authored-by: Jiri Kuncar <jiri.kuncar@cern.ch>
- Moves column user_id from depDraft to depWorkflow.
- Associates a workflow with a user.
- Appends field icons to input fields.
- Groups all the subfields of a formfield in a gentle block.
- Fixes error rendering for subfields.
- Allows a field to autocomplete other fields by returning a dictionary with field: value structure on validation.
- Moves error checking from blueprint to a new function 'draft_field_error_check()'
- Typeahead sends an ajax request for every change while the previous request is still running. That makes older requests override newest resuls.
- Aligns field labels to the right. Reported-by: Jerome Caffaro <jerome.caffaro@cern.ch>
Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>