-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Better handle activities you can't apply to
Instead of a 404, we should just inform users of the endpoints that *do* support applications.
- Loading branch information
Showing
5 changed files
with
120 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
{% extends "base.html" %} | ||
{% load application_tags %} | ||
{% load crispy_forms_tags %} | ||
|
||
{% block head_title %}Apply to be a leader{% endblock head_title %} | ||
|
||
{% block content %} | ||
{{ block.super }} | ||
|
||
<h1>Become a MITOC leader</h1> | ||
|
||
<p class="lead"> | ||
MITOC's volunteer leaders run trips for the community. | ||
</p> | ||
|
||
<p> | ||
MITOCers may apply to become a leader, at the discretion of the activity chair(s). | ||
</p> | ||
|
||
Activities which accept leader applications: | ||
<ul> | ||
{% for activity_enum in activities_accepting_applications %} | ||
<li><a href="{% url 'become_leader' activity_enum.value %}">{{ activity_enum.label}}</a></li> | ||
{% endfor %} | ||
</ul> | ||
|
||
|
||
{% endblock content %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters