Skip to content

Commit 7d678ec

Browse files
Merge pull request #187 from OpenDSA/textbook-fix
removed textbook generation from course offering page
2 parents 1468895 + 4a8d2af commit 7d678ec

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

app/views/course_offerings/_form.html.haml

-8
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
instructor's guide
1010
for more information.
1111
%h4.text-danger All fields are required
12-
%h4.text-danger Note: LMS fields are not required to create textbooks
1312

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

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

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

0 commit comments

Comments
 (0)