Skip to content

Commit 03622fa

Browse files
committed
communit/: Add a form for applying as a mentor
Closes coala#272
1 parent c817821 commit 03622fa

File tree

1 file changed

+50
-0
lines changed

1 file changed

+50
-0
lines changed

templates/community_forms.html

+50
Original file line numberDiff line numberDiff line change
@@ -156,3 +156,53 @@ <h5 class="text-center custom-green-color-font bold-text">
156156
<input class="waves-effect waves-light btn-large large-font" type="submit" value="Submit">
157157
</div>
158158
</form>
159+
160+
<form name="{{ organization_mentor_form_name }}" method="post"
161+
netlify-honeypot="bot-field" class="mentor-students-form display-none"
162+
data-netlify="true" action="/">
163+
<h5 class="text-center custom-green-color-font bold-text">
164+
Mentoring Program Details
165+
</h5>
166+
{% csrf_token %}
167+
{% for field in organization_mentor_form %}
168+
<div class="row">
169+
<div class="input-field col s12">
170+
<p><label for="{{ field.name }}">{{ field.label }}</label></p>
171+
{{ field }}
172+
{% if field.help_text %}
173+
<i class="fa fa-info-circle" aria-hidden="true">{{ field.help_text }}</i>
174+
{% endif %}
175+
</div>
176+
</div>
177+
{% endfor %}
178+
<div class="validation-checkboxes">
179+
<p>
180+
<label>
181+
<input type="checkbox" required>
182+
<span>I am a member of {{ org.name }} developers group.</span>
183+
</label>
184+
</p>
185+
<p>
186+
<label>
187+
<input type="checkbox" required>
188+
<span>All of the above information provided by me has no false
189+
entries. If so, I am liable of getting blacklisted.</span>
190+
</label>
191+
</p>
192+
<p style="display: none">
193+
<label>
194+
<input type="checkbox" name="bot-field">
195+
<span>I am a bot</span>
196+
</label>
197+
</p>
198+
<p>
199+
<strong>
200+
Note: You will receive an email within 24 hrs, if any of the
201+
validation checks are not passed.
202+
</strong>
203+
</p>
204+
</div>
205+
<div class="apply-flex center-content submit-btn">
206+
<input class="waves-effect waves-light btn-large large-font" type="submit" value="Submit">
207+
</div>
208+
</form>

0 commit comments

Comments
 (0)