1 {% extends base_template %}
5 {% block title %}{% trans 'Media and information literacy competencies catalogue' %}{% endblock %}
8 <h1>{% trans 'Media and information literacy competencies catalogue' %}</h1>
10 {% if request.LANGUAGE_CODE == 'pl' %}
11 {% chunk 'katalog_kompetencji' %}
14 <div class="curriculum-form">
15 <h2><a>{% trans 'Browse competencies' %} <span>({% trans 'expand' %})</span></a></h2>
18 <h3>{% trans 'Education level' %}:</h3>
19 {% if errors.level %}<p class="error">{{ errors.level }}</p>{% endif %}
20 {% for lev_group, levels in levels.items %}
21 <strong>{{ lev_group }}</strong>
22 <ul class="curriculum-levels">
23 {% for lev in levels %}
24 <li><label><input type="radio" name="level" value="{{ lev.slug }}"
25 {% if lev == level %}checked="checked"{% endif %} />
26 {{ lev }}</label></li>
31 <h3>{% trans 'Competency categories' %}:</h3>
32 {% if errors.competences %}<p class="error">{{ errors.competences }}</p>{% endif %}
33 <ul class="curriculum-sections">
34 {% for section in sections %}
35 <li class="curriculum-section">
36 <label><input type="checkbox" class="s" name="s" value="{{ section.pk }}"
37 {% if section.pk in sect_ids %}checked="checked"{% endif %} /> {{ section }}</label>
38 <a class="curriculum-section-toggler">({% trans 'expand' %})</a>
39 <ul class="competences">
40 {% for competence in section.competence_set.all %}
41 <li class="competence"><label><input class="c" type="checkbox" name="c" value="{{ competence.pk }}"
42 {% if competence.pk in comp_ids %}checked="checked"{% endif %} />
43 {{ competence }}</label></li>
49 <button>{% trans 'Show' %}</button>
53 {% if chosen_competences %}
55 <h2>{% trans 'Selected competencies' %} – {{ level }}</h2>
57 {% for section, competences in chosen_competences.items %}
58 <h3>{{ section }}</h3>
59 {% for competence in competences %}
60 <h4>{{ competence }}</h4>
61 {{ competence.for_level_.description|linebreaksbr }}
68 {% if request.GET.d %}
69 <script type="text/javascript">
70 var curriculum_hide_form = true;