Remove unnecessary span. Put album title in the h2 directly.

This commit is contained in:
voussoir 2017-07-09 19:27:12 -07:00
parent 2d732c5ab0
commit 9a156672b0

View file

@ -40,14 +40,12 @@ p
<body> <body>
{{header.make_header(session=session)}} {{header.make_header(session=session)}}
<div id="content_body"> <div id="content_body">
<h2> <h2 data-editor-id="title" data-editor-placeholder="title" id="title_text">
<span data-editor-id="title" data-editor-placeholder="title" id="title_text">
{%- if album.title -%} {%- if album.title -%}
{{album.title}} {{album.title}}
{%- else -%} {%- else -%}
Album {{album.id}} Album {{album.id}}
{%- endif -%} {%- endif -%}
</span>
</h2> </h2>
<p data-editor-id="description" data-editor-placeholder="description" id="description_text" {% if album.description == "" %}class="hidden"{% endif %}>{{album.description}}</p> <p data-editor-id="description" data-editor-placeholder="description" id="description_text" {% if album.description == "" %}class="hidden"{% endif %}>{{album.description}}</p>