Commit cb546459 authored by Jean Michel Rouly's avatar Jean Michel Rouly
Browse files

Set up styled form.

parent aa7f7846
......@@ -6,28 +6,56 @@ HNRS 110 • Submit Question
{% block content %}
<h1>Submit a Research Question</h1>
<div class="container">
<a name="top"></a>
<div class="page-header" id="banner">
<div class="row">
<div class="col-lg-12">
<h1>Submit a Research Question</h1>
<p class="lead">Use this form to submit your tentative research
question for peer review.</p>
</div>
</div>
</div>
<p>
</p>
<div class="row">
<div class="col-lg-12">
<div class="well">
<form class="form-horizontal" action="/submit" method="post">{% csrf_token %}
<legend>Research Question</legend>
{% if form.text.errors %}
<div class="form-group has-error">
<div class="col-lg-12">
<label class="control-label">{{form.text.errors}}</label>
{% else %}
<div class="form-group">
<div class="col-lg-12">
{% endif %}
{{ form.text }}
<span class="help-block">
Please only include the question text, there is no need to
include your name or any other information.
</span>
</div>
</div>
<div class="form-group">
<div class="col-lg-12">
<input type="submit" class="btn btn-primary" value="Submit Question" />
</div>
</div>
</form>
</div>
</div>
</div>
<p>
Use this form to submit your tentative research question.
</p>
<p>
Only include the question text, there is no need to include your name or
any other information!
</p>
<form action="/submit" method="post">{% csrf_token %}
{{ form.text.errors }}
{{ form.text }}
<p><input type="submit" value="Submit Question" /></p>
</form>
{% if form.errors %}
<p>There was a form error!</p>
{% endif %}
<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