1 {% extends "base.html" %}
3 {% block title %}Katalog kompetencji medialnych i informacyjnych{% endblock %}
6 <h1>Katalog kompetencji medialnych i informacyjnych</h1>
8 <div class="curriculum-form">
9 <h2><a>Przeglądaj kompetencje <span>(rozwiń)</span></a></h2>
12 <h3>Poziom edukacyjny:</h3>
13 {% if errors.level %}<p class="error">{{ errors.level }}</p>{% endif %}
14 {% for lev_group, levels in levels.items %}
15 <strong>{{ lev_group }}</strong>
16 <ul class="curriculum-levels">
17 {% for lev in levels %}
18 <li><label><input type="radio" name="level" value="{{ lev.slug }}"
19 {% if lev == level %}checked="checked"{% endif %} />
20 {{ lev }}</label></li>
25 <h3>Kategorie kompetencji:</h3>
26 {% if errors.competences %}<p class="error">{{ errors.competences }}</p>{% endif %}
27 <ul class="curriculum-sections">
28 {% for section in sections %}
29 <li class="curriculum-section">
30 <label><input type="checkbox" class="s" name="s" value="{{ section.pk }}"
31 {% if section.pk in sect_ids %}checked="checked"{% endif %} /> {{ section }}</label>
32 <a class="curriculum-section-toggler">(rozwiń)</a>
33 <ul class="competences">
34 {% for competence in section.competence_set.all %}
35 <li class="competence"><label><input class="c" type="checkbox" name="c" value="{{ competence.pk }}"
36 {% if competence.pk in comp_ids %}checked="checked"{% endif %} />
37 {{ competence }}</label></li>
43 <button>Pokaż</button>
47 {% if chosen_competences %}
49 <h2>Wybrane kompetencje – {{ level }}</h2>
51 {% for section, competences in chosen_competences.items %}
52 <h3>{{ section }}</h3>
53 {% for competence in competences %}
54 <h4>{{ competence }}</h4>
55 {{ competence.for_level_.description }}
62 {% if request.GET.d %}
63 <script type="text/javascript">
64 var curriculum_hide_form = true;