Sha256: ce4045f08bd5a9fd62a1256d04ee5a4dbf6d8a56492e33dfa9c09569e82a4bd9

Contents?: true

Size: 1.39 KB

Versions: 30

Compression:

Stored size: 1.39 KB

Contents

<%= render_runner_assets @guide.language, :layout %>

<%= content_for :breadcrumbs do %>
  <%= breadcrumbs subject %>
<% end %>

<%= render partial: 'layouts/authoring', locals: {guide: @guide} %>

<% if subject.timed? && subject.started?(current_user) && !current_user.teacher? %>
  <%= render partial: 'layouts/timer', locals: {end_time: subject.real_end_time(current_user)} %>
<% end %>

<div class="row">
  <div class="mu-inline-block-right">
    <h1><%= language_icon @guide.language %></h1>
  </div>
  <div class="mu-inline-block-left">
    <h1>
      <%= subject.name %>
      <%= link_to_bibliotheca_guide(@guide) %>
    </h1>
  </div>
</div>
<div class="row">
  <div class="col-md-12">
    <div class="text-box">
      <%= @guide.description_html %>

      <div class="actions">
        <% if !@stats.try(:done?) && @next_exercise %>
          <%= link_to t(lesson_practice_key_for(@stats)), exercise_path(@next_exercise), class: 'btn btn-success' %>
        <% end %>
      </div>
    </div>
  </div>
</div>

<h3 style="display:inline;"><%= t :content %></h3>
<%= restart_guide_link(@guide) if current_user && @guide.started?(current_user) %>
<%= render partial: 'layouts/progress_listing', locals: {exercises: @guide.exercises} %>

<% if @stats.try :done? %>
  <div class="text-box">
    <%= corollary_box(@guide) %>
    <div class="actions">
      <%= next_lesson_button @guide %>
    </div>
  </div>
<% end %>

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
mumuki-laboratory-5.9.1 app/views/layouts/_guide.html.erb
mumuki-laboratory-5.9.0 app/views/layouts/_guide.html.erb
mumuki-laboratory-5.8.3 app/views/layouts/_guide.html.erb
mumuki-laboratory-5.8.1 app/views/layouts/_guide.html.erb
mumuki-laboratory-5.8.0 app/views/layouts/_guide.html.erb
mumuki-laboratory-5.7.0 app/views/layouts/_guide.html.erb
mumuki-laboratory-5.6.3 app/views/layouts/_guide.html.erb
mumuki-laboratory-5.6.2 app/views/layouts/_guide.html.erb
mumuki-laboratory-5.6.1 app/views/layouts/_guide.html.erb
mumuki-laboratory-5.6.0 app/views/layouts/_guide.html.erb
mumuki-laboratory-5.5.0 app/views/layouts/_guide.html.erb
mumuki-laboratory-5.4.0 app/views/layouts/_guide.html.erb
mumuki-laboratory-5.3.0 app/views/layouts/_guide.html.erb
mumuki-laboratory-5.2.1 app/views/layouts/_guide.html.erb
mumuki-laboratory-5.2.0 app/views/layouts/_guide.html.erb
mumuki-laboratory-5.1.1 app/views/layouts/_guide.html.erb
mumuki-laboratory-5.1.0 app/views/layouts/_guide.html.erb
mumuki-laboratory-5.0.12 app/views/layouts/_guide.html.erb
mumuki-laboratory-5.0.11 app/views/layouts/_guide.html.erb
mumuki-laboratory-5.0.10 app/views/layouts/_guide.html.erb