Commit 9e5eca14 by Vik Paruchuri

Swap b tag for span

parent 65cb53b8
...@@ -120,7 +120,7 @@ div.combined-rubric-container { ...@@ -120,7 +120,7 @@ div.combined-rubric-container {
} }
} }
b.rubric-category { span.rubric-category {
font-size: .9em; font-size: .9em;
} }
padding-bottom: 5px; padding-bottom: 5px;
......
...@@ -4,7 +4,7 @@ class @Rubric ...@@ -4,7 +4,7 @@ class @Rubric
# finds the scores for each rubric category # finds the scores for each rubric category
@get_score_list: () => @get_score_list: () =>
# find the number of categories: # find the number of categories:
num_categories = $('b.rubric-category').length num_categories = $('span.rubric-category').length
score_lst = [] score_lst = []
# get the score for each one # get the score for each one
...@@ -23,7 +23,7 @@ class @Rubric ...@@ -23,7 +23,7 @@ class @Rubric
@check_complete: () -> @check_complete: () ->
# check to see whether or not any categories have not been scored # 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)] for i in [0..(num_categories-1)]
score = $("input[name='score-selection-#{i}']:checked").val() score = $("input[name='score-selection-#{i}']:checked").val()
if score == undefined if score == undefined
......
<div class="rubric"> <div class="rubric">
% for i in range(len(categories)): % for i in range(len(categories)):
<% category = categories[i] %> <% category = categories[i] %>
<b class="rubric-category">${category['description']}</b> <br/> <span class="rubric-category">${category['description']}</span> <br/>
<ul class="rubric-list"> <ul class="rubric-list">
% for j in range(len(category['options'])): % for j in range(len(category['options'])):
<% option = category['options'][j] %> <% option = category['options'][j] %>
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<div class="rubric"> <div class="rubric">
% for i in range(len(categories)): % for i in range(len(categories)):
<% category = categories[i] %> <% category = categories[i] %>
<b class="rubric-category">${category['description']}</b> <br/> <span class="rubric-category">${category['description']}</span> <br/>
<ul class="rubric-list"> <ul class="rubric-list">
% for j in range(len(category['options'])): % for j in range(len(category['options'])):
<% option = category['options'][j] %> <% option = category['options'][j] %>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment