Skip to content

Commit

Permalink
communit/: Add a form for applying as a mentor
Browse files Browse the repository at this point in the history
Closes coala#272
  • Loading branch information
KVGarg committed Aug 5, 2019
1 parent b8a0847 commit 822e6c7
Showing 1 changed file with 50 additions and 0 deletions.
50 changes: 50 additions & 0 deletions templates/community_forms.html
Original file line number Diff line number Diff line change
Expand Up @@ -830,3 +830,53 @@ <h6 class="bold-text custom-green-color-font">Low Difficulty Issue
<input class="waves-effect waves-light btn-large large-font" type="submit" value="Submit">
</div>
</form>

<form name="{{ organization_mentor_form_name }}" method="post"
netlify-honeypot="bot-field" class="mentor-students-form display-none"
data-netlify="true" action="/">
<h5 class="text-center custom-green-color-font bold-text">
Mentoring Program Details
</h5>
{% csrf_token %}
{% for field in organization_mentor_form %}
<div class="row">
<div class="input-field col s12">
<p><label for="{{ field.name }}">{{ field.label }}</label></p>
{{ field }}
{% if field.help_text %}
<i class="fa fa-info-circle" aria-hidden="true">{{ field.help_text }}</i>
{% endif %}
</div>
</div>
{% endfor %}
<div class="validation-checkboxes">
<p>
<label>
<input type="checkbox" required>
<span>I am a member of {{ org.name }} developers group.</span>
</label>
</p>
<p>
<label>
<input type="checkbox" required>
<span>All of the above information provided by me has no false
entries. If so, I am liable of getting blacklisted.</span>
</label>
</p>
<p style="display: none">
<label>
<input type="checkbox" name="bot-field">
<span>I am a bot</span>
</label>
</p>
<p>
<strong>
Note: You will receive an email within 24 hrs, if any of the
validation checks are not passed.
</strong>
</p>
</div>
<div class="apply-flex center-content submit-btn">
<input class="waves-effect waves-light btn-large large-font" type="submit" value="Submit">
</div>
</form>

0 comments on commit 822e6c7

Please sign in to comment.