Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
Carlos Ribas
rnacentral-webcode
Commits
0ac6c34e
Commit
0ac6c34e
authored
Aug 19, 2021
by
Anton Petrov
Browse files
Replace contact us web form with a Doorbell button
parent
6f647882
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
41 deletions
+7
-41
rnacentral/portal/templates/portal/contact.html
rnacentral/portal/templates/portal/contact.html
+7
-41
No files found.
rnacentral/portal/templates/portal/contact.html
View file @
0ac6c34e
...
...
@@ -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>
<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"
>
<p>
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.
</p>
</div>
<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>
</div>
<div
class=
"checkbox"
>
{{ form.cc_myself.errors }}
<label>
<input
type=
"checkbox"
name=
"cc_myself"
tabindex=
"4"
>
CC yourself?
</label>
</div>
<br>
<a
class=
"btn btn-large btn-primary doorbell-feedback"
>
Get in touch
</a>
<button
type=
"submit"
class=
"btn btn-primary"
tabindex=
"5"
>
Submit
</button>
</form>
</div>
<div
class=
"col-md-4"
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment