Add support for predesigned covers to Marquise. Remove support for changing cover...
[librarian.git] / src / librarian / elements / front / motto.py
index fd81220..48eac66 100644 (file)
@@ -2,5 +2,10 @@ from ..base import WLElement
 
 
 class Motto(WLElement):
 
 
 class Motto(WLElement):
+    SHOULD_HAVE_ID = True
+
     TXT_LEGACY_TOP_MARGIN = 4
     TXT_LEGACY_BOTTOM_MARGIN = 2
     TXT_LEGACY_TOP_MARGIN = 4
     TXT_LEGACY_BOTTOM_MARGIN = 2
+
+    EPUB_TAG = HTML_TAG = "div"
+    EPUB_CLASS = HTML_CLASS = "motto"