race to challenge rename
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
{% load staticfiles %}
|
||||
{% load rowerfilters %}
|
||||
|
||||
{% block title %}Rowsandall Virtual Racing{% endblock %}
|
||||
{% block title %}Rowsandall Virtual Challenges{% endblock %}
|
||||
|
||||
{% block scripts %}
|
||||
<script type='text/javascript'
|
||||
@@ -15,7 +15,7 @@
|
||||
var frm = $("#raceform");
|
||||
|
||||
var data = new FormData(frm[0]);
|
||||
|
||||
|
||||
$.ajax({
|
||||
url: "/rowers/virtualevents/",
|
||||
type: "POST",
|
||||
@@ -24,17 +24,17 @@
|
||||
data: data,
|
||||
|
||||
success: function(data) {
|
||||
|
||||
|
||||
$('#racelist').html(data)
|
||||
}
|
||||
|
||||
|
||||
});
|
||||
};
|
||||
|
||||
|
||||
$(document).ready(function() {
|
||||
var csrftoken = jQuery("[name=csrfmiddlewaretoken]").val();
|
||||
console.log("CSRF token",csrftoken);
|
||||
|
||||
|
||||
function csrfSafeMethod(method) {
|
||||
// these HTTP methods do not require CSRF protection
|
||||
return (/^(GET|HEAD|OPTIONS|TRACE)$/.test(method));
|
||||
@@ -69,7 +69,7 @@
|
||||
</form>
|
||||
</p>
|
||||
<li class="grid_4">
|
||||
<p>Click on the event name or on the Details button to see the event
|
||||
<p>Click on the challenge name or on the Details button to see the challenge
|
||||
details (and manage your participation and results). Click on the
|
||||
course name to see the course details.
|
||||
</p>
|
||||
|
||||
Reference in New Issue
Block a user