Swap b tag for span
This commit is contained in:
@@ -120,7 +120,7 @@ div.combined-rubric-container {
|
||||
}
|
||||
}
|
||||
|
||||
b.rubric-category {
|
||||
span.rubric-category {
|
||||
font-size: .9em;
|
||||
}
|
||||
padding-bottom: 5px;
|
||||
|
||||
@@ -4,7 +4,7 @@ class @Rubric
|
||||
# finds the scores for each rubric category
|
||||
@get_score_list: () =>
|
||||
# find the number of categories:
|
||||
num_categories = $('b.rubric-category').length
|
||||
num_categories = $('span.rubric-category').length
|
||||
|
||||
score_lst = []
|
||||
# get the score for each one
|
||||
@@ -23,7 +23,7 @@ class @Rubric
|
||||
|
||||
@check_complete: () ->
|
||||
# check to see whether or not any categories have not been scored
|
||||
num_categories = $('b.rubric-category').length
|
||||
num_categories = $('span.rubric-category').length
|
||||
for i in [0..(num_categories-1)]
|
||||
score = $("input[name='score-selection-#{i}']:checked").val()
|
||||
if score == undefined
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<div class="rubric">
|
||||
% for i in range(len(categories)):
|
||||
<% category = categories[i] %>
|
||||
<b class="rubric-category">${category['description']}</b> <br/>
|
||||
<span class="rubric-category">${category['description']}</span> <br/>
|
||||
<ul class="rubric-list">
|
||||
% for j in range(len(category['options'])):
|
||||
<% option = category['options'][j] %>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<div class="rubric">
|
||||
% for i in range(len(categories)):
|
||||
<% category = categories[i] %>
|
||||
<b class="rubric-category">${category['description']}</b> <br/>
|
||||
<span class="rubric-category">${category['description']}</span> <br/>
|
||||
<ul class="rubric-list">
|
||||
% for j in range(len(category['options'])):
|
||||
<% option = category['options'][j] %>
|
||||
|
||||
Reference in New Issue
Block a user