diff --git a/main/forms.py b/main/forms.py
index 22488df4..b9c4fae1 100644
--- a/main/forms.py
+++ b/main/forms.py
@@ -158,7 +158,9 @@ def __init__(self, *args: Any, user: "UserType", **kwargs: Any) -> None:
parent_heading = (
f'
{competency_domain}
'
)
- parent_div = Div(HTML(parent_heading), css_class="mb-5")
+ parent_div = Div(
+ HTML(parent_heading), css_class="mb-5 competency-domain-container"
+ )
competency_elements = []
for competency, skills_list in competencies.items():
@@ -166,7 +168,7 @@ def __init__(self, *args: Any, user: "UserType", **kwargs: Any) -> None:
competency_heading = f"{competency}
"
# Outer card div
- competency_div = Div(css_class="mt-5 card rounded-1")
+ competency_div = Div(css_class="mt-5 card rounded-1 competency-card")
# Card body div with heading and table
card_body_div = Div(css_class="card-body")
@@ -188,7 +190,7 @@ def __init__(self, *args: Any, user: "UserType", **kwargs: Any) -> None:
"""
for skill in skills_list:
table_html += f"""
-
+
| {skill.name} |
{skill.description} |
{{{{ form.skill_{skill.id} }}}} |
diff --git a/main/templates/main/snippets/skill-search-filter.html b/main/templates/main/snippets/skill-search-filter.html
new file mode 100644
index 00000000..40cb9e55
--- /dev/null
+++ b/main/templates/main/snippets/skill-search-filter.html
@@ -0,0 +1,43 @@
+1
+
diff --git a/main/templates/main/user-self-assess.html b/main/templates/main/user-self-assess.html
index c685d87d..ea27ae0f 100644
--- a/main/templates/main/user-self-assess.html
+++ b/main/templates/main/user-self-assess.html
@@ -28,6 +28,14 @@ Self Assessment Questionnaire
Please assess your skill level for each competency below.
You can leave skills blank if they are not applicable to you.
+
+
+
+
+
{% if messages %}
{% for message in messages %}
@@ -53,4 +61,5 @@
Self Assessment Questionnaire
Account menu
+ {% include "main/snippets/skill-search-filter.html" %}
{% endblock content %}