Sha256: cc042c9019ca27efb2715fd7af0e1d5d79052c16250eabdfc4abfb31d58e0cf8
Contents?: true
Size: 1.03 KB
Versions: 4
Compression:
Stored size: 1.03 KB
Contents
<div class="course_category" id="course_category-<%= course_category.id %>"> <% if action_name == 'show' %> <h1 class="courses_category-name"><%= course_category.name %></h1> <% else %> <h2 class="courses_category-name"><%= course_category.name %></h2> <% end %> <div class="course_categories-tree"> <%= nested_li(course_category.descendants, {}) do |course_category, level| %> <%= link_to course_category.tree_name, course_category %> <% end %> </div> <% unless course_category.description.blank? %> <div class="course_categories-description"> <p><%= course_category.description %></p> </div> <% end %> <div class="course_category-courses"> <h2><%= Ecm::Courses::CourseCategory.human_attribute_name(:ecm_courses_courses) %></h2> <% if course_category.ecm_courses_courses_count == 0 %> <%= t('ecm.courses.course_category.messages.no_courses_available') %> <hr /> <% else %> <%= render course_category.ecm_courses_courses %> <% end %> </div> </div>
Version data entries
4 entries across 4 versions & 1 rubygems