Format template

This commit is contained in:
Mo 2023-02-25 20:47:34 +01:00
parent 70dea0440a
commit 1ac042ebee
2 changed files with 42 additions and 42 deletions

View file

@ -3,4 +3,4 @@ default_job = "clippy"
[jobs.clippy]
command = ["cargo", "clippy", "-q", "--all-targets", "--color", "always", "--workspace"]
need_stdout = false
watch = ["tests", "benches", "examples", "crates"]
watch = ["tests", "benches", "examples", "crates", "templates"]

View file

@ -63,12 +63,12 @@
{% when None %}
{% endmatch %}
</div>
{% endfor %}
{% endfor %}
<div class="mb-2 mt-4">
<div class="mb-2 mt-4">
<img src="data:image/png;base64,{{ captcha }}">
</div>
<div class="mb-3">
</div>
<div class="mb-3">
<label for="captcha_answer" class="form-label">{{ strings.captcha_field.label }}</label>
<input type="text"
name="captcha_answer"
@ -76,16 +76,16 @@
id="captcha_answer"
required>
<div class="invalid-feedback">{{ strings.captcha_field.required_feedback }}</div>
</div>
</div>
{% if error_message.len() > 0 %}
{% if error_message.len() > 0 %}
<div class="alert alert-warning" role="alert">{{ error_message }}</div>
{% endif %}
{% endif %}
<div class="d-grid">
<div class="d-grid">
<button type="submit" class="btn btn-primary">{{ strings.submit }}</button>
</div>
</form>
</div>
</form>
{% endblock %}
{% block scripts %}