Skip to content

Commit

Permalink
Update step 2 lyric placeholder text
Browse files Browse the repository at this point in the history
  • Loading branch information
ashermorgan committed Jul 23, 2024
1 parent a65b52e commit 483b7f7
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
4 changes: 4 additions & 0 deletions songs2slides/static/create.css
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,10 @@ tfoot td {
}

/* step 2 */
#missing-message {
font-style: italic;
}

details {
margin-bottom: 1rem;
}
Expand Down
14 changes: 5 additions & 9 deletions songs2slides/templates/create-step-2.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,16 @@
<script src="{{ url_for('static', filename='create.js') }}"></script>
{% endblock head %}

{% set format_hint =
'Each stanza will appear on its own slide. ' +
'Stanzas must be separated by one blank line. ' +
'Three blank lines represent an empty slide.'
%}

{% block main %}
<form id="create-form" method="POST" action="{{ url_for('.create_step_3') }}">
<h1>Step 2: Review Lyrics</h1>
<p>
Review the parsed song lyrics below and make any necessary corrections.
</p>
<p>
{{ format_hint }}
Each stanza will appear on its own slide.
Stanzas must be separated by one blank line.
Three blank lines represent an empty slide.
</p>

<p id="missing-message" {% if missing == 0 %} hidden {% endif %}>
Expand Down Expand Up @@ -52,8 +48,8 @@ <h1>Step 2: Review Lyrics</h1>
</summary>

<textarea name="lyrics-{{ loop.index }}" placeholder="{{
'Lyrics not found, please enter them here manually.\n\n'
if not song.lyrics else '' }}{{ format_hint }}"
'Lyrics not found, please enter them manually.'
if not song.lyrics else 'Enter song lyrics.' }}"
aria-label="{{ song.title }} Lyrics" oninput="save_lyrics()"
>{{ song.lyrics or '' }}</textarea>

Expand Down

0 comments on commit 483b7f7

Please sign in to comment.