Skip to content

Commit

Permalink
Merge pull request #187 from OpenDSA/textbook-fix
Browse files Browse the repository at this point in the history
removed textbook generation from course offering page
  • Loading branch information
kwasimbnyarko authored Nov 18, 2024
2 parents 1468895 + 4a8d2af commit 7d678ec
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions app/views/course_offerings/_form.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
instructor's guide
for more information.
%h4.text-danger All fields are required
%h4.text-danger Note: LMS fields are not required to create textbooks

/ .form-group
/ = label_tag :name, 'Canvas course Name', class: 'control-label col-xs-2'
Expand Down Expand Up @@ -110,13 +109,6 @@
.col-xs-offset-2.col-xs-2
%button#btn-submit-co.btn.btn-primary Create New Course Offering

.form-group
.col-xs-offset-2.col-xs-2
- textbook_lms_instance = LmsInstance.find_by(url: "TEXTBOOK")
%button#btn-gen-textbook.btn.btn-primary{disabled:textbook_lms_instance.blank?} Create Non LMS Textbook
%small.col-xs-11.text.text-warning
= textbook_lms_instance.blank? ? 'Textbook LMS Instance not found' : ''


#lms-instance-help-modal.modal.fade{role: 'dialog', tabindex: '-1' }
.modal-dialog.modal-md{ style: 'overflow-y: scroll; max-height:85% margin-top: 50px; margin-bottom:50px;' }
Expand Down

0 comments on commit 7d678ec

Please sign in to comment.