Commit 9b0290a3 authored by Zac Wood's avatar Zac Wood

fixed course card header

parent 6c8d6b74
Pipeline #3219 failed with stage
in 2 minutes and 12 seconds
...@@ -2,11 +2,18 @@ ...@@ -2,11 +2,18 @@
<div class="card" id="course-<%= %>" onclick="toggleSections(this)"> <div class="card" id="course-<%= %>" onclick="toggleSections(this)">
<div class="card-header"> <div class="card-header">
<h4 class="title"><%= "#{course.subject} #{course.course_number}" %></h4> <div class="row">
<h5><em><%= course.title %></em>. <%= course.credits %> credits.</h5> <div class="col">
<h4 id="add-course-btn" onclick="addCourse(event, '<%= %>');"> <h4 class="title"><%= "#{course.subject} #{course.course_number}" %></h4>
<i class="fas fa-plus" style="color: green"></i> </div>
<div class="col">
<h4 id="add-course-btn" class="text-right" onclick="addCourse(event, '<%= %>');">
<i class="fas fa-plus" style="color: green"></i>
<h5><em><%= course.title %></em></h5>
</div> </div>
<div class="card-body"> <div class="card-body">
<div class="attr-list"> <div class="attr-list">
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