Tweaks to submission form
This commit is contained in:
@@ -51,7 +51,7 @@ def apply():
|
|||||||
blender_id=current_user.id,
|
blender_id=current_user.id,
|
||||||
website=form.website.data,
|
website=form.website.data,
|
||||||
city_country=form.city_country.data,
|
city_country=form.city_country.data,
|
||||||
teaching=form.teaching.data,
|
institution_name=form.institution_name.data,
|
||||||
video_example=form.video_example.data,
|
video_example=form.video_example.data,
|
||||||
written_example=form.written_example.data,
|
written_example=form.written_example.data,
|
||||||
portfolio_cv=form.portfolio_cv.data,
|
portfolio_cv=form.portfolio_cv.data,
|
||||||
|
@@ -30,17 +30,10 @@
|
|||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-6">
|
<div class="col-md-6">
|
||||||
<div class="input-group input-group-lg input-checkbox width-full" id="is_teaching">
|
Are you currently teaching at a university?
|
||||||
<div class="btn-group" data-toggle="buttons">
|
|
||||||
<label class="btn btn-squishy">
|
|
||||||
{{ form.teaching() }}
|
|
||||||
</label>
|
|
||||||
</div>
|
|
||||||
<label class="control-label ">Are you currently teaching at a university?</label>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-6">
|
<div class="col-md-6">
|
||||||
<div class="input-group input-group-lg width-full disabled" id="is_teaching_where">
|
<div class="input-group input-group-lg width-full" id="is_teaching_where">
|
||||||
{{ form.institution_name(class="form-control", placeholder="School or Institution's name") }}
|
{{ form.institution_name(class="form-control", placeholder="School or Institution's name") }}
|
||||||
<label class="control-label">School or Institution Name</label>
|
<label class="control-label">School or Institution Name</label>
|
||||||
</div>
|
</div>
|
||||||
@@ -49,7 +42,7 @@
|
|||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-6">
|
<div class="col-md-6">
|
||||||
A set of essential skills is required to be
|
A set of essential skills is required
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-6">
|
<div class="col-md-6">
|
||||||
<div class="input-group input-group-lg width-full">
|
<div class="input-group input-group-lg width-full">
|
||||||
@@ -124,11 +117,3 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block footer_scripts %}
|
|
||||||
<script>
|
|
||||||
$('#is_teaching').click(function() {
|
|
||||||
$("#is_teaching_where").toggleClass('disabled');
|
|
||||||
});
|
|
||||||
</script>
|
|
||||||
{% endblock %}
|
|
||||||
|
@@ -16,13 +16,13 @@
|
|||||||
<td>{{application.show_pretty_date('submission')}}</td>
|
<td>{{application.show_pretty_date('submission')}}</td>
|
||||||
<td>You submitted your application</td>
|
<td>You submitted your application</td>
|
||||||
</tr>
|
</tr>
|
||||||
{% if application.show_pretty_date('review_start') %}
|
{% if application.review_start_date %}
|
||||||
<tr>
|
<tr>
|
||||||
<td>{{application.show_pretty_date('review_start')}}</td>
|
<td>{{application.show_pretty_date('review_start')}}</td>
|
||||||
<td>Application review started</td>
|
<td>Application review started</td>
|
||||||
</tr>
|
</tr>
|
||||||
{% endif%}
|
{% endif%}
|
||||||
{% if application.show_pretty_date('review_end') %}
|
{% if application.review_end_date %}
|
||||||
<tr>
|
<tr>
|
||||||
<td>{{application.show_pretty_date('review_end')}}</td>
|
<td>{{application.show_pretty_date('review_end')}}</td>
|
||||||
<td>Application review ended</td>
|
<td>Application review ended</td>
|
||||||
|
Reference in New Issue
Block a user