open_ended_rubric.html 1.19 KB
Newer Older
Vik Paruchuri committed
1
<form class="rubric-template" id="inputtype_${id}" xmlns="http://www.w3.org/1999/html">
2 3
    <h3>Rubric</h3>
    <p>Select the criteria you feel best represents this submission in each category.</p>
Vik Paruchuri committed
4
    <div class="rubric">
5
        % for i in range(len(categories)):
Vik Paruchuri committed
6
        <% category = categories[i] %>
Vik Paruchuri committed
7
            <span class="rubric-category">${category['description']}</span> <br/>
8
            <ul class="rubric-list">
Vik Paruchuri committed
9
                % for j in range(len(category['options'])):
10
                <% option = category['options'][j] %>
11
                    %if option['selected']:
12
                        <li class="selected-grade rubric-list-item">
Vik Paruchuri committed
13
                    %else:
14
                        <li class="rubric-list-item">
Vik Paruchuri committed
15
                    % endif
16 17 18 19
                    <label class="rubric-label" for="score-${i}-${j}">
                        <input type="radio" class="score-selection" name="score-selection-${i}" id="score-${i}-${j}" value="${option['points']}"/>
                        <span class="wrappable"> ${option['points']} points : ${option['text']}</span>
                    </label>
20
                    </li>
Vik Paruchuri committed
21 22
                % endfor
            </ul>
23
        % endfor
24
    </div>
25
</form>