fix: redirect after login

This commit is contained in:
pateljannat
2021-05-07 18:27:18 +05:30
parent 5edceb2562
commit 911c85bfc8
2 changed files with 4 additions and 4 deletions

View File

@@ -88,7 +88,8 @@
{% if can_manage %}
<a href="/courses/{{course.name}}/{{batch.name}}/about" class="btn btn-secondary">Manage</a>
{% else %}
<button class="join-batch" data-batch="{{ batch.name | urlencode }}">Join this Batch</button>
<button class="join-batch" data-batch="{{ batch.name | urlencode }}"
data-course="{{ course.name | urlencode }}">Join this Batch</button>
{% endif %}
</div>
</div>