diff --git a/app/forms/section.py b/app/forms/section.py index 82aecf1..d738242 100644 --- a/app/forms/section.py +++ b/app/forms/section.py @@ -8,7 +8,6 @@ from app.logger import log class BaseSectionForm(FlaskForm): label = StringField("Label", [DataRequired(), Length(3, 256)]) - about = StringField("About") class CreateSectionForm(BaseSectionForm): diff --git a/app/models/section.py b/app/models/section.py index 265a3e3..ea190e7 100644 --- a/app/models/section.py +++ b/app/models/section.py @@ -7,7 +7,6 @@ class Section(BaseModel): __tablename__ = "sections" label = db.Column(db.String(256), unique=False, nullable=False) - about = db.Column(db.Text, unique=False, nullable=True) # Foreign keys collection_id = db.Column(db.ForeignKey("collections.id")) diff --git a/app/templates/book/edit_section_modal.html b/app/templates/book/edit_section_modal.html index f4360e5..3421e40 100644 --- a/app/templates/book/edit_section_modal.html +++ b/app/templates/book/edit_section_modal.html @@ -11,7 +11,6 @@ method="post" class="relative bg-white rounded-lg shadow dark:bg-gray-700"> {{ form_hidden_tag() }} -
@@ -27,15 +26,6 @@
-
-
-
-
- {{ section.about|safe }} -
-
-
-
diff --git a/app/templates/book/interpretation_view.html b/app/templates/book/interpretation_view.html index a8569f7..e1168a0 100644 --- a/app/templates/book/interpretation_view.html +++ b/app/templates/book/interpretation_view.html @@ -34,22 +34,6 @@
- - -