-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement coach customization of grading policy for a CCX
Story #35 As a coach I can see and edit the json for the grading policy. Story #34 Recalculate grading policy Repair the broken test for grading by providing an explicit POC context for the request to run in I am not certain this is the right way to do this, might be better to test the session facility by setting the session for self.client, but this will do for now.
- Loading branch information
Showing
6 changed files
with
118 additions
and
20 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
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,10 @@ | ||
<%! from django.utils.translation import ugettext as _ %> | ||
|
||
<h2>${_("Grading Policy")}</h2> | ||
|
||
<form action="${grading_policy_url}" method="POST"> | ||
<input type="hidden" name="csrfmiddlewaretoken" value="${csrf_token}"/> | ||
<textarea cols="80" style="height: 500px;" | ||
name="policy" id="grading-policy">${grading_policy}</textarea><br/> | ||
<button type="submit">${_("Save Grading Policy")}</button> | ||
</form> |
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