Sha256: f8267532ea47f51e3097e1813590413385a9159ea7c0f15fffc65b7b6c774992
Contents?: true
Size: 1.38 KB
Versions: 6
Compression:
Stored size: 1.38 KB
Contents
<% set_page_title @document.metadata['title'].to_s.html_safe %> <style type="text/css"> <%= raw(@document.css_styles) %> </style> <%= render 'sticky_header', document: @document, props: @props if @props[:results].present? %> <div class="c-ld-page-header cs-bg--<%= @document.color_code_grade %>"> <div class="o-page"> <% if current_user&.admin? %> <div class="o-page__module u-margin-bottom--gutter"> <%= link_to admin_documents_path(request.query_parameters), class: 'o-ub-ld-btn o-ub-ld-btn--bordered' do %> Go to Lessons Admin <% end %> <%= link_to @document.file_url, class: 'o-ub-ld-btn o-ub-ld-btn--bordered', target: '_blank' do %> <i class="ub-icon ub-file-gdoc"></i> Google Doc <% end %> <%= render partial: 'lcms/engine/admin/documents/reimport', locals: { lesson: @document, btn_class: 'o-ub-ld-btn o-ub-ld-btn--bordered' } %> </div> <% end %> <%= render 'header', document: @document, props: @props if @props[:results].present? %> </div> </div> <div class="u-bg--light"> <div class="o-page o-page--ld c-ld--<%= @document.color_code_grade %> u-padding-bottom--gutter2x doc-subject-<%= @document.metadata['subject'].to_s.downcase %>" data-scroll="ld-page" id="ld-page"> <%= render 'content', document: @document %> </div> </div> <a href="#" class="o-top-scroll-button"><i class="ub-angle-down"></i></a>
Version data entries
6 entries across 6 versions & 1 rubygems