Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Jean Michel Rouly
research-questions
Commits
7e1aa36d
Commit
7e1aa36d
authored
Dec 03, 2013
by
Jean Michel Rouly
Browse files
Introduced feedback page.
parent
904a504e
Changes
1
Hide whitespace changes
Inline
Side-by-side
researchquestions/templates/feedback.html
0 → 100644
View file @
7e1aa36d
{% extends 'layouts/base.html' %}
{% block title %}
HNRS 110
•
Provide Feedback
{% endblock %}
{% block content %}
<div
class=
"page-header"
id=
"banner"
>
<div
class=
"row"
>
<div
class=
"col-lg-10 col-lg-offset-1"
>
<h1>
Feedback
</h1>
<p
class=
"lead"
>
Tell us what you think of our website.
</p>
</div>
</div>
</div>
{% if form.errors %}
<div
class=
"row"
>
<div
class=
"col-lg-10 col-lg-offset-1"
>
<div
class=
"alert alert-dismissable alert-danger"
>
<button
type=
"button"
class=
"close"
data-dismiss=
"alert"
>
×
</button>
<strong>
Oh snap!
</strong>
Something went wrong. Please try again.
</div>
</div>
</div>
{% endif %}
<div
class=
"row"
>
<div
class=
"col-lg-10 col-lg-offset-1"
>
<div
class=
"well"
>
<form
class=
"form-horizontal"
action=
"/feedback"
method=
"post"
>
{% csrf_token %}
<fieldset>
<legend>
Comments
</legend>
{% if form.errors %}
<div
class=
"form-group has-error"
>
<div
class=
"col-lg-12"
>
<label
class=
"control-label"
>
{% for error in form.text.errors %}
{{ error }}
{% endfor %}
</label>
{% else %}
<div
class=
"form-group"
>
<div
class=
"col-lg-12"
>
{% endif %}
{{ form.text }}
<span
class=
"help-block"
>
Any comments you have regarding this website are welcome.
All feedback is anonymous.
</span>
</div>
</div>
<div
class=
"form-group"
>
<div
class=
"col-lg-12"
>
<input
type=
"submit"
class=
"btn btn-primary"
value=
"Submit Feedback"
/>
</div>
</div>
</fieldset>
</form>
</div>
</div>
</div>
{% endblock %}
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