Remove trailing slash for void elements... sadly

This commit is contained in:
Greg Burri 2025-02-14 18:58:32 +01:00
parent a1fd63ad08
commit cb2483eab1
13 changed files with 57 additions and 52 deletions

View file

@ -14,7 +14,7 @@
id="input-title"
type="text"
value="{{ recipe.title }}"
autofocus="true" />
autofocus="true">
<label for="text-area-description">{{ tr.t(Sentence::RecipeDescription) }}</label>
<textarea
@ -28,7 +28,7 @@
value="
{% if let Some(s) = recipe.servings %}
{{ s }}
{% endif %}"/>
{% endif %}">
<label for="input-estimated-time">{{ tr.t(Sentence::RecipeEstimatedTime) }}</label>
<input
@ -38,7 +38,7 @@
value="
{% if let Some(t) = recipe.estimated_time %}
{{ t }}
{% endif %}"/>
{% endif %}">
<label for="select-difficulty">{{ tr.t(Sentence::RecipeDifficulty) }}</label>
<select id="select-difficulty">
@ -54,7 +54,7 @@
<input
id="input-tags"
type="text"
value="" />
value="">
</div>
<label for="select-language">{{ tr.t(Sentence::RecipeLanguage) }}</label>
@ -74,15 +74,15 @@
{%+ if recipe.is_published %}
checked
{% endif %}
/>
>
<label for="input-is-published">{{ tr.t(Sentence::RecipeIsPublished) }}</label>
<input id="input-delete" type="button" value="{{ tr.t(Sentence::RecipeDelete) }}" />
<input id="input-delete" type="button" value="{{ tr.t(Sentence::RecipeDelete) }}">
<div id="groups-container">
</div>
<input id="input-add-group" type="button" value="{{ tr.t(Sentence::RecipeAddAGroup) }}" />
<input id="input-add-group" type="button" value="{{ tr.t(Sentence::RecipeAddAGroup) }}">
</div>
<div id="hidden-templates">
@ -90,17 +90,17 @@
<span class="drag-handle"></span>
<label for="input-group-name">{{ tr.t(Sentence::RecipeGroupName) }}</label>
<input class="input-group-name" type="text" />
<input class="input-group-name" type="text">
<label for="input-group-comment">{{ tr.t(Sentence::RecipeGroupComment) }}</label>
<input class="input-group-comment" type="text" />
<input class="input-group-comment" type="text">
<input class="input-group-delete" type="button" value="{{ tr.t(Sentence::RecipeRemoveGroup) }}" />
<input class="input-group-delete" type="button" value="{{ tr.t(Sentence::RecipeRemoveGroup) }}">
<div class="steps">
</div>
<input class="input-add-step" type="button" value="{{ tr.t(Sentence::RecipeAddAStep) }}" />
<input class="input-add-step" type="button" value="{{ tr.t(Sentence::RecipeAddAStep) }}">
</div>
<div class="step">
@ -109,29 +109,29 @@
<label for="text-area-step-action">{{ tr.t(Sentence::RecipeStepAction) }}</label>
<textarea class="text-area-step-action"></textarea>
<input class="input-step-delete" type="button" value="{{ tr.t(Sentence::RecipeRemoveStep) }}" />
<input class="input-step-delete" type="button" value="{{ tr.t(Sentence::RecipeRemoveStep) }}">
<div class="ingredients"></div>
<input class="input-add-ingredient" type="button" value="{{ tr.t(Sentence::RecipeAddAnIngredient) }}"/>
<input class="input-add-ingredient" type="button" value="{{ tr.t(Sentence::RecipeAddAnIngredient) }}">
</div>
<div class="ingredient">
<span class="drag-handle"></span>
<label for="input-ingredient-name">{{ tr.t(Sentence::RecipeIngredientName) }}</label>
<input class="input-ingredient-name" type="text" />
<input class="input-ingredient-name" type="text">
<label for="input-ingredient-quantity">{{ tr.t(Sentence::RecipeIngredientQuantity) }}</label>
<input class="input-ingredient-quantity" type="number" step="0.1" min="0" max="10000" />
<input class="input-ingredient-quantity" type="number" step="0.1" min="0" max="10000">
<label for="input-ingredient-unit">{{ tr.t(Sentence::RecipeIngredientUnit) }}</label>
<input class="input-ingredient-unit" type="text" />
<input class="input-ingredient-unit" type="text">
<label for="input-ingredient-comment">{{ tr.t(Sentence::RecipeIngredientComment) }}</label>
<input class="input-ingredient-comment" type="text" />
<input class="input-ingredient-comment" type="text">
<input class="input-ingredient-delete" type="button" value="{{ tr.t(Sentence::RecipeRemoveIngredient) }}" />
<input class="input-ingredient-delete" type="button" value="{{ tr.t(Sentence::RecipeRemoveIngredient) }}">
</div>
<div class="dropzone"></div>