Self hosted FLOSS fitness/workout, nutrition and weight tracker
alternate rendering in case of an invalid url
Rohan Karan09a4b23e84e7
diff --git a/wger/core/templates/form.html b/wger/core/templates/form.htmlindex 9a3026430..14a0ad784 100644--- a/wger/core/templates/form.html+++ b/wger/core/templates/form.html@@ -15,7 +15,11 @@{% block title %}{{title}}{% endblock %}{% block content %}- {% crispy form %}+ {% if form %}+ {% crispy form %}+ {% else %}+ Looks like you clicked on an invalid link. Please try again.+ {% endif %}{% endblock %}