Nevermind, the span wasn't useless.
The h2 needs to hold the title input so it stays block-level.
This commit is contained in:
parent
ee555f5f41
commit
8bf33f7ac6
1 changed files with 3 additions and 1 deletions
|
@ -40,12 +40,14 @@ p
|
|||
<body>
|
||||
{{header.make_header(session=session)}}
|
||||
<div id="content_body">
|
||||
<h2 data-editor-id="title" data-editor-placeholder="title" id="title_text">
|
||||
<h2>
|
||||
<span data-editor-id="title" data-editor-placeholder="title" id="title_text">
|
||||
{%- if album.title -%}
|
||||
{{album.title}}
|
||||
{%- else -%}
|
||||
Album {{album.id}}
|
||||
{%- endif -%}
|
||||
</span>
|
||||
</h2>
|
||||
<p data-editor-id="description" data-editor-placeholder="description" id="description_text" {% if album.description == "" %}class="hidden"{% endif %}>{{album.description}}</p>
|
||||
|
||||
|
|
Loading…
Reference in a new issue