Remove feedback form

This commit is contained in:
rubenwardy 2024-01-10 22:31:47 +00:00
parent 2cb0a93e6d
commit ecdefc67ac

View File

@ -63,41 +63,6 @@ layout: base
<li>{% if next %}<a href="{{ page.root }}{{ next.url}}">{{ next.title }} &gt;</a>{% endif %}</li>
</ul>
{% if language == "en" %}
<aside class="feedback">
<h2>
{% unless page.homepage %}Confused?{% endunless %}
Have an idea to make the book better?
</h2>
<p>
Please let me know using the form below.
</p>
<form method="POST" action="https://api.rubenwardy.com/comment/">
<input type="hidden" name="url" value="{{ page.url | absolute_url }}">
<input type="hidden" name="redirect_to" value="https://rubenwardy.com/minetest_modding_book/comment_received.html">
<input type="hidden" name="name" value="Anonymous">
<label for="username" class="form-label">Username</label>
<input type="text" id="username" name="username">
<div class="form-group">
<label for="message" class="form-label">Message</label>
<textarea class="form-control" id="message" name="message" rows="3" required="" minlength="5" maxlength="1800"></textarea>
<small id="messageHelp" class="form-text text-muted">
Max 1800 characters. What is missing? What confused you?
What did you find unclear? What other feedback do you have?
</small>
</div>
<div class="form-group">
<label for="email" class="form-label">Email address (optional)</label>
<input type="email" class="form-control" id="email" name="email" aria-describedby="emailHelp" maxlength="320">
<small id="emailHelp" class="form-text text-muted">
Optional, if you'd like to receive a response.
</small>
</div>
<button type="submit" class="btn btn-primary">Send Feedback</button>
</form>
</aside>
{% endif %}
<footer>
&copy; 2014-{{ site.time | date: '%Y' }}
{% if language == "en" %}