Commit 7e1aa36d authored by Jean Michel Rouly's avatar Jean Michel Rouly
Browse files

Introduced feedback page.

parent 904a504e
{% 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">&times;</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 %}
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