feat: community member for profile and edit profile form

This commit is contained in:
pateljannat
2021-03-12 12:22:12 +05:30
parent b7602d6d2b
commit 25a0dd02ac
14 changed files with 124 additions and 38 deletions

View File

@@ -19,7 +19,7 @@
<div class="badge badge-info enrollment-badge hide">Enrolled</div>
<div>
{% if not course_enrolled and frappe.session.user != "Guest" %}
<button class="btn btn-dark btn-enroll float-right" data-course={{course.name}}>Enroll</button>
<button class="btn btn-dark btn-enroll float-right" data-course="{{ course.name }}">Enroll</button>
{% endif %}
<h1>{{ course.title }}</h1>
</div>