simply delete the feedback form to fix ticket 5647
This commit is contained in:
parent
280adea532
commit
63f3ec7ed6
1 changed files with 0 additions and 65 deletions
|
@ -1,65 +0,0 @@
|
|||
{% extends "two_column_body.html" %}
|
||||
{% import "macros.html" as macros %}
|
||||
<!-- template feedback.html -->
|
||||
{% block title %}{% spaceless %}{% trans %}Feedback{% endtrans %}{% endspaceless %}{% endblock %}
|
||||
{% block content %}
|
||||
<h1 class="section-title">{% trans %}Give us your feedback!{% endtrans %}</h1>
|
||||
{% if form.errors %}
|
||||
<span class="error">
|
||||
{{form.errors.__all__}}
|
||||
</span>
|
||||
{%endif%}
|
||||
<form id="feedback-form" method="post" action="{% url feedback %}" accept-charset="utf-8">{% csrf_token %}
|
||||
{% if user.is_authenticated() %}
|
||||
<p class="message">
|
||||
{% trans user_name=user.username|escape %}
|
||||
<span class='big strong'>Dear {{user_name}}</span>, we look forward to hearing your feedback.
|
||||
Please type and send us your message below.
|
||||
{% endtrans %}
|
||||
<p>
|
||||
{% else %}
|
||||
<p class="message">
|
||||
{% trans %}
|
||||
<span class='big strong'>Dear visitor</span>, we look forward to hearing your feedback.
|
||||
Please type and send us your message below.
|
||||
{% endtrans %}
|
||||
</p>
|
||||
<div class="form-row"><label>{{form.name.label}}</label><br/>{{form.name}}</div>
|
||||
<div class="form-row">
|
||||
<label>{{form.email.label}}
|
||||
{% if form.errors.email %}
|
||||
<span class='error'>{% trans %}(to hear from us please enter a valid email or check the box below){% endtrans %}</span>
|
||||
{% endif %}
|
||||
</label><br/>{{form.email}}
|
||||
</div>
|
||||
<div class="form-row">
|
||||
<label>{{form.no_email.label}}
|
||||
{% if form.errors.no_email %}
|
||||
<span class="error">{% trans %}(this field is required){% endtrans %}</span>
|
||||
{% endif %}
|
||||
{{form.no_email}}
|
||||
</label>
|
||||
</div>
|
||||
{% endif %}
|
||||
<div class="form-row">
|
||||
<label>{{form.message.label}}
|
||||
{% if form.errors.message %}
|
||||
<span class="error">{% trans %}(this field is required){% endtrans %}</span>
|
||||
</label>
|
||||
{% endif %}
|
||||
<br/>
|
||||
{{form.message}}
|
||||
</div>
|
||||
{% if form.recaptcha %}
|
||||
<div class="form-row">
|
||||
{{ macros.form_field_with_errors(form.recaptcha) }}
|
||||
</div>
|
||||
{% endif %}
|
||||
{{form.next}}
|
||||
<div class="submit-row">
|
||||
<input class="normal-btn" type="submit" value="{% trans %}Send Feedback{% endtrans %}"/>
|
||||
<input class="normal-btn" type="submit" class="cancel" name="cancel" value="{% trans %}Cancel{% endtrans %}"/>
|
||||
</div>
|
||||
</form>
|
||||
{% endblock %}
|
||||
<!-- end template feedback.html -->
|
Loading…
Add table
Add a link
Reference in a new issue