<form class="rubric-template" id="inputtype_${id}">
    <h3>Rubric</h3>
    % if view_only:
    <p>Select the criteria you feel best represents this submission in each category.</p>
    % else:
    <p>The highlighted selection best matches how the student feels you performed in each category.</p>
    % endif
    <table class="rubric">
        % for i in range(len(categories)):
            <% category = categories[i] %>
        <tr>
            <th>${category['description']}</th>
            % for j in range(len(category['options'])):
                <% option = category['options'][j] %>
            <td>
                % if view_only:
                <div class="view-only">
                    ${option['text']}
                    <div class="grade">[${option['points']} points]</div>
                </div>
                % else:
                    <input type="radio" class="score-selection" name="score-selection-${i}" id="score-${i}-${j}" value="${option['points']}"/>
                    <label for="score-${i}-${j}">${option['text']}</label>
                % endif
            </td>
            % endfor
        </tr>
        % endfor
    </table>
</form>

<form class="rubric-template" id="inputtype_${id}">
    <h3>Rubric</h3>
    % if view_only:
    <p>The highlighted selection matches how the grader feels you performed in each category.</p>
    % else:
    <p>Select the criteria you feel best represents this submission in each category.</p>
    % endif
    <table class="rubric">
        % for i in range(len(categories)):
            <% category = categories[i] %>
        <tr>
            <th>${category['description']}</th>
            % for j in range(len(category['options'])):
                <% option = category['options'][j] %>
            <td>
                % if view_only:
                <div class="view-only">
                    ${option['text']}
                    <div class="grade">[${option['points']} points]</div>
                </div>
                % else:
                    <input type="radio" class="score-selection" name="score-selection-${i}" id="score-${i}-${j}" value="${option['points']}"/>
                    <label for="score-${i}-${j}">${option['text']}</label>
                % endif
            </td>
            % endfor
        </tr>
        % endfor
    </table>
</form>

Fix wrong order in the text
Fix wrong order in the text
