Commit 0ac6c34e authored by Anton Petrov's avatar Anton Petrov
Browse files

Replace contact us web form with a Doorbell button

parent 6f647882
......@@ -30,50 +30,16 @@ Contact us
<div class="row">
<div class="col-md-8">
<form action="/contact/" method="post" role="form">{% csrf_token %}
{{ form.non_field_errors }}
<div class="form-group {% if form.subject.errors %} has-error {% endif %}" >
{% if form.subject.errors %}
<label class="control-label" for="emailSubject">Subject ({{ form.subject.errors|striptags }})</label>
{% else %}
<label for="emailSubject">Subject</label>
{% endif %}
<input type="text" autofocus class="form-control" name="subject" id="emailSubject" placeholder="" tabindex="1"
{% if form.subject.errors %}value="{{ form.subject.value }}"{% endif %}>
<div class="form-group {% if form.message.errors %} has-error {% endif %}" >
{% if form.message.errors %}
<label class="control-label" for="emailMessage">Message ({{ form.message.errors|striptags }})</label>
{% else %}
<label for="emailSubject">Message</label>
{% endif %}
<textarea type="text" class="form-control" name="message" id="emailMessage" placeholder="" tabindex="2" rows="4">{% if form.message.errors %}{{ form.message.value }}{% endif %}</textarea>
<p style="display: none;">
<input type="text" id="phone" name="phone" placeholder="Please enter your phone number">
Please feel free to send your feedback about any aspect of RNAcentral.
We really value your input and will get back to you as soon as we can.
<div class="form-group">
<div class="form-group {% if form.sender.errors %} has-error {% endif %}" >
{% if form.sender.errors %}
<label class="control-label" for="emailSender">Your email address ({{ form.sender.errors|striptags }})</label>
{% else %}
<label for="emailSender">Your email address</label>
{% endif %}
<input type="email" class="form-control" name="sender" id="emailSender" placeholder="" tabindex="3"
{% if form.sender.errors %}value={{ form.sender.value }}{% endif %}>
<div class="checkbox">
{{ form.cc_myself.errors }}
<input type="checkbox" name="cc_myself" tabindex="4"> CC yourself?
<a class="btn btn-large btn-primary doorbell-feedback">Get in touch</a>
<button type="submit" class="btn btn-primary" tabindex="5">Submit</button>
<div class="col-md-4">
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment