Allow recording documents as references only
Opened this issue · 0 comments
vildead commented
Related to #385
File upload field in DatasetCreate modal box is now required and it is impossible to create an "empty" document record.
Define 2 types of documents
- real document uploaded in DAISY
- reference with URL
Flow:
- User clicks on + button to add new document
2a) either the modal box will have toggle on the top to choose from "Document upload" and "Document reference
2b) or they will see small window over the + button with those options (but 2a would allow for more text to be added) - based on the selection, the form would either have the file upload field or URL/URI field (with simple validation)
- The type of document record can be also visually different on the main page (project, contract)