1 {% extends "base.html" %}
4 {% block title %}Katalog kompetencji medialnych i informacyjnych{% endblock %}
7 <h1>Katalog kompetencji medialnych i informacyjnych</h1>
9 {% chunk 'katalog_kompetencji' %}
11 <div class="curriculum-form">
12 <h2><a>Przeglądaj kompetencje <span>(rozwiń)</span></a></h2>
15 <h3>Poziom edukacyjny:</h3>
16 {% if errors.level %}<p class="error">{{ errors.level }}</p>{% endif %}
17 {% for lev_group, levels in levels.items %}
18 <strong>{{ lev_group }}</strong>
19 <ul class="curriculum-levels">
20 {% for lev in levels %}
21 <li><label><input type="radio" name="level" value="{{ lev.slug }}"
22 {% if lev == level %}checked="checked"{% endif %} />
23 {{ lev }}</label></li>
28 <h3>Kategorie kompetencji:</h3>
29 {% if errors.competences %}<p class="error">{{ errors.competences }}</p>{% endif %}
30 <ul class="curriculum-sections">
31 {% for section in sections %}
32 <li class="curriculum-section">
33 <label><input type="checkbox" class="s" name="s" value="{{ section.pk }}"
34 {% if section.pk in sect_ids %}checked="checked"{% endif %} /> {{ section }}</label>
35 <a class="curriculum-section-toggler">(rozwiń)</a>
36 <ul class="competences">
37 {% for competence in section.competence_set.all %}
38 <li class="competence"><label><input class="c" type="checkbox" name="c" value="{{ competence.pk }}"
39 {% if competence.pk in comp_ids %}checked="checked"{% endif %} />
40 {{ competence }}</label></li>
46 <button>Pokaż</button>
50 {% if chosen_competences %}
52 <h2>Wybrane kompetencje – {{ level }}</h2>
54 {% for section, competences in chosen_competences.items %}
55 <h3>{{ section }}</h3>
56 {% for competence in competences %}
57 <h4>{{ competence }}</h4>
58 {{ competence.for_level_.description|linebreaksbr }}
65 {% if request.GET.d %}
66 <script type="text/javascript">
67 var curriculum_hide_form = true;