Skip to content

Commit

Permalink
LIB-681 Add upload file field
Browse files Browse the repository at this point in the history
  • Loading branch information
jtmcd75 committed Dec 11, 2024
1 parent edd073b commit 1bf27de
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions configuration/webform.webform.library_instruction_session.yml
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,20 @@ elements: |-
'#wrapper_attributes':
class:
- mb-4
upload_doc:
'#type': webform_document_file
'#title': 'Upload your syllabus and/or assignment description'
'#wrapper_attributes':
class:
- mb-5
'#file_extensions': 'pdf doc docx'
'#sanitize': true
'#button': true
'#button__title': 'Select file<span class="fa-solid fa-paperclip ml-1"></span>'
'#button__attributes':
class:
- btn
- btn-primary
about_assignment:
'#type': textarea
'#title': 'Tell us about the assignment students will be working on'
Expand Down

0 comments on commit 1bf27de

Please sign in to comment.