diff --git a/cms/templates/js/textbook-edit.underscore b/cms/templates/js/textbook-edit.underscore
index 07d12739f7..758b182b87 100644
--- a/cms/templates/js/textbook-edit.underscore
+++ b/cms/templates/js/textbook-edit.underscore
@@ -1,24 +1,26 @@
-<% if (errors) { %>
-
- <%= errors %>
+
diff --git a/cms/templates/js/textbook-show.underscore b/cms/templates/js/textbook-show.underscore
index 260d8a51e7..140340eab4 100644
--- a/cms/templates/js/textbook-show.underscore
+++ b/cms/templates/js/textbook-show.underscore
@@ -1,25 +1,23 @@
-
- <%= name %>
- <% if(chapters.length > 1) {%>
-
-
- <%= chapters.length %> PDF Chapters
-
- <% } else if(chapters.length === 1) { %>
- <%= chapters.at(0).get("asset_path") %>
- <% } %>
- <%= gettext("view in course") %>
-
-
- <% if(showChapters) { %>
-
-
- <% chapters.each(function(chapter) { %>
- - <%= chapter.get('name') %>
- <%= chapter.get('asset_path') %>
-
- <% }) %>
-
- <% } %>
-
+
<%= name %>
+<% if(chapters.length > 1) {%>
+
+
+ <%= chapters.length %> PDF Chapters
+
+<% } else if(chapters.length === 1) { %>
+ <%= chapters.at(0).get("asset_path") %>
+<% } %>
+
<%= gettext("view in course") %>
+
+
+<% if(showChapters) { %>
+
+
+ <% chapters.each(function(chapter) { %>
+ - <%= chapter.get('name') %>
+ <%= chapter.get('asset_path') %>
+
+ <% }) %>
+
+<% } %>
diff --git a/cms/templates/textbooks.html b/cms/templates/textbooks.html
index 528f9bc510..0aad59ac19 100644
--- a/cms/templates/textbooks.html
+++ b/cms/templates/textbooks.html
@@ -72,6 +72,7 @@ CMS.Views.TextbookShow = Backbone.View.extend({
this.template = _.template($("#show-textbook-tpl").text());
this.listenTo(this.model, "change", this.render);
},
+ tagName: "li",
events: {
"click .edit": "editTextbook",
"click .delete": "removeSelf",
@@ -108,9 +109,7 @@ CMS.Views.TextbookEdit = Backbone.View.extend({
this.listenTo(chapters, "all", this.render);
this.listenTo(this.model.collection, "editOne", this.remove);
},
- tagName: "form",
- className: "edit-textbook",
- id: "edit_textbook_form",
+ tagName: "li",
render: function() {
this.$el.html(this.template({
name: this.model.escape('name'),