From 160aeb69502436799f780e64d8c5895ba6a5cae3 Mon Sep 17 00:00:00 2001 From: Ethan Dalool Date: Wed, 14 Jun 2017 21:45:20 -0700 Subject: [PATCH] Replace old work with new Editor class. --- .../etiquette_flask/templates/album.html | 151 +++++------------- 1 file changed, 39 insertions(+), 112 deletions(-) diff --git a/frontends/etiquette_flask/templates/album.html b/frontends/etiquette_flask/templates/album.html index 7364314..5e046ba 100644 --- a/frontends/etiquette_flask/templates/album.html +++ b/frontends/etiquette_flask/templates/album.html @@ -33,10 +33,6 @@ p { width: 100%; } -.hidden -{ - display: none; -} @@ -45,25 +41,15 @@ p {{header.make_header(session=session)}}

- {% if album.title %} - {{album.title}} - {% else %} - Album {{album.id}} - {% endif %} - + + {%- if album.title -%} + {{album.title}} + {%- else -%} + Album {{album.id}} + {%- endif -%} +

- -

{{album.description}}

- - - +

{{album.description}}

{% set viewparam = "?view=list" if view == "list" else "" %} {% set parent = album.parent() %} @@ -117,113 +103,54 @@ p