%= content_for :breadcrumbs do %>
<%= header_breadcrumbs(link_for_organization: false) %>
<% end %>
<%= @book.description_html %>
<% @book.next_lesson_for(current_user).try do |lesson| %>
<% end %>
<%= t(:chapters) %>
<% @book.chapter_visibilities_in(current_workspace).each do |it, enabled| %>
<%= it.number %>. <%= link_to_path_element it, mode: :plain %>
%>
<%= it.description_teaser_html %>
<% unless enabled %>
<% end %>
<% end %>
<% if current_user? && @exams.present? %>
<%= t(:exams) %>
<% @exams.each_with_index do |it, index| %>
<%= t(:exam_number, number: index) %> <%= link_to_path_element it, mode: :plain %>
<%= it.guide.description_teaser_html %>
<% end %>
<% end %>
<%= render partial: 'layouts/progress', locals: { content: @book } %>