removed placeholders from required inputs because Pico CSS won't style an invalid input as invalid if a placeholder is shown
This commit is contained in:
parent
e70ccd9282
commit
57687f8ab6
@ -42,7 +42,7 @@
|
||||
<article>
|
||||
<label>
|
||||
<span class="required">Genre</span>
|
||||
<input id="form_Genre" name="form_Genre" aria-Label="Genre" placeholder="Genre" required autofocus />
|
||||
<input id="form_Genre" name="form_Genre" aria-Label="Genre" required autofocus />
|
||||
</label>
|
||||
</article>
|
||||
</fieldset>
|
||||
|
||||
@ -42,7 +42,7 @@
|
||||
<article>
|
||||
<label>
|
||||
<span class="required">Name</span>
|
||||
<input id="form_Name" name="form_Name" aria-Label="Name" placeholder="Name" required autofocus />
|
||||
<input id="form_Name" name="form_Name" aria-Label="Name" required autofocus />
|
||||
</label>
|
||||
</article>
|
||||
</fieldset>
|
||||
|
||||
@ -42,7 +42,7 @@
|
||||
<article>
|
||||
<label>
|
||||
<span class="required">Pseudonym</span>
|
||||
<input id="form_Pseudonym" name="form_Pseudonym" aria-Label="Pseudonym" placeholder="Pseudonym" required autofocus />
|
||||
<input id="form_Pseudonym" name="form_Pseudonym" aria-Label="Pseudonym" required autofocus />
|
||||
</label>
|
||||
</article>
|
||||
</fieldset>
|
||||
|
||||
@ -44,7 +44,7 @@
|
||||
<article>
|
||||
<label>
|
||||
<span class="required">Titel</span>
|
||||
<input id="form_Titel" name="form_Titel" aria-Label="Reihentitel" placeholder="Titel" required autofocus />
|
||||
<input id="form_Titel" name="form_Titel" aria-Label="Reihentitel" required autofocus />
|
||||
</label>
|
||||
<label>
|
||||
Verlag
|
||||
|
||||
@ -42,7 +42,7 @@
|
||||
<article>
|
||||
<label>
|
||||
<span class="required">Sprache</span>
|
||||
<input id="form_Sprache" name="form_Sprache" aria-Label="Sprache" placeholder="Sprache" required autofocus />
|
||||
<input id="form_Sprache" name="form_Sprache" aria-Label="Sprache" required autofocus />
|
||||
</label>
|
||||
</article>
|
||||
</fieldset>
|
||||
|
||||
@ -25,7 +25,7 @@ Text bearbeiten
|
||||
<section>
|
||||
<label>
|
||||
<span class="required">Titel</span>
|
||||
<input class="required" id="form_Titel" name="form_Titel" aria-Label="Titel" placeholder="Titel" required value="{{ text['Titel'] }}" />
|
||||
<input class="required" id="form_Titel" name="form_Titel" aria-Label="Titel" required value="{{ text['Titel'] }}" />
|
||||
</label>
|
||||
</section>
|
||||
<hr />
|
||||
|
||||
@ -42,7 +42,7 @@
|
||||
<article>
|
||||
<label>
|
||||
<span class="required">Textform</span>
|
||||
<input id="form_Textform" name="form_Textform" aria-Label="Textform" placeholder="Textform" required autofocus />
|
||||
<input id="form_Textform" name="form_Textform" aria-Label="Textform" required autofocus />
|
||||
</label>
|
||||
</article>
|
||||
</fieldset>
|
||||
|
||||
@ -42,7 +42,7 @@
|
||||
<article>
|
||||
<label>
|
||||
<span class="required">Name des Verlags</span>
|
||||
<input id="form_Verlag" name="form_Verlag" aria-Label="Verlagsname" placeholder="Verlagsname" required autofocus />
|
||||
<input id="form_Verlag" name="form_Verlag" aria-Label="Verlagsname" required autofocus />
|
||||
</label>
|
||||
</article>
|
||||
</fieldset>
|
||||
|
||||
@ -50,15 +50,15 @@
|
||||
<article>
|
||||
<label>
|
||||
<span class="required">Text</span>
|
||||
<select id="form_Text" name="form_Text" aria-label="Text" placeholder="Text" required autofocus>
|
||||
<option selected value="">kein Text</option>
|
||||
<select id="form_Text" name="form_Text" aria-label="Text" required autofocus>
|
||||
<option selected value="">Text auswählen …</option>
|
||||
{% for t in texte %}<option value="{{ t.ID }}">{{ t.Titel }}</option>{% endfor %}
|
||||
</select>
|
||||
</label>
|
||||
<label>
|
||||
<span class="required">Werk</span>
|
||||
<select id="form_Werk" name="form_Werk" aria-label="Werk" placeholder="Werk" required>
|
||||
<option selected value="">kein Werk</option>
|
||||
<select id="form_Werk" name="form_Werk" aria-label="Werk" required>
|
||||
<option selected value="">Werk auswählen …</option>
|
||||
{% for w in werke %}<option value="{{ w.ID }}">{{ w.Titel }}</option>{% endfor %}
|
||||
</select>
|
||||
</label>
|
||||
@ -72,8 +72,8 @@
|
||||
</label>
|
||||
<label>
|
||||
<span class="required">Pseudonym</span>
|
||||
<select id="form_Pseudonym" name="form_Pseudonym" aria-label="Pseudonym" placeholder="Pseudonym" required>
|
||||
<option selected value="">Pseudonym auswählen</option>
|
||||
<select id="form_Pseudonym" name="form_Pseudonym" aria-label="Pseudonym" required>
|
||||
<option selected value="">Pseudonym auswählen …</option>
|
||||
{% for p in pseudonyme %}<option value="{{ p.ID }}">{{ p.Pseudonym }}</option>{% endfor %}
|
||||
</select>
|
||||
</label>
|
||||
|
||||
@ -51,7 +51,7 @@
|
||||
<td title="ISSN">{{ werk["ISSN"] }}</td>
|
||||
<td title="Genre(s)">{{ werk["Genre_list"] | join(", ") }}</td>
|
||||
<td title="Herausgeber:in(nen)">{{ werk["Herausgeber_list"] | join(", ") }}</td>
|
||||
<td title="Titelbild">{% if werk["Titelbild"] %}✔{% else %}✘{% endif %}</td>
|
||||
<td title="Titelbild">{% if werk["Titelbild"] %}<img src="{{ werk['Titelbild'] }}" width="128" height="128" alt="Titelbild (Thumbnail)" />{% else %}✘{% endif %}</td>
|
||||
<td title="Klappentext"{% if werk["Klappentext"] %} data-tooltip="{{ werk['Klappentext'] | replace('\n', ' ') | safe }}" data-placement="bottom">✔{% else %}>✘{% endif %}</td>
|
||||
<td title="Anmerkungen">{{ werk["Anmerkungen"] }}</td>
|
||||
<td class="action action-update" data-id="{{ werk['id'] }}"><a href="{{ url_for('werk.read', id=werk['id']) }}" title="Werk ansehen/bearbeiten"><svg viewbox="0 0 24 24"><use href="#update" /></svg></a></td>
|
||||
|
||||
@ -42,7 +42,7 @@
|
||||
<article>
|
||||
<label>
|
||||
<span class="required">Werksform</span>
|
||||
<input id="form_Werksform" name="form_Werksform" aria-Label="Werksform" placeholder="Werksform" required autofocus/>
|
||||
<input id="form_Werksform" name="form_Werksform" aria-Label="Werksform" required autofocus/>
|
||||
</label>
|
||||
</article>
|
||||
</fieldset>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user