Sha256: df92230c8d5625f6e9136db5f6b802b7fb9738f95f737db6b8f9c85c396d3e81

Contents?: true

Size: 964 Bytes

Versions: 83

Compression:

Stored size: 964 Bytes

Contents

<div class="field form-group editor-code">

  <% files = exercise.files_for(content) %>

  <div class="editor-files">
    <span class="files-tabs">
      <ul class="nav nav-tabs">
        <% files.each_with_index do |file, index| %>
          <li role="presentation" class="file-tab <%= 'active' if index == 0 %>" data-target="#editor-file-<%= index %>" tabindex='0' data-toggle='tab'>
            <a class="file-name" href="#"><%= file.name %></a>
          </li>
        <% end %>
      </ul>
    </span>

    <%= multifile_hidden_inputs %>

    <div class="tab-content">
      <% files.each_with_index do |file, index| %>
        <div role="tabpanel" class="file-editor tab-pane mu-input-panel <%= 'fade in active' if index == 0 %>" id="editor-file-<%= index %>">
          <div class=<%="content[#{file.name}]"%>>
            <%= read_only_editor file.content, file.highlight_mode %>
          </div>
        </div>
      <% end %>
    </div>

  </div>
</div>

Version data entries

83 entries across 83 versions & 1 rubygems

Version Path
mumuki-laboratory-9.0.6 app/views/layouts/exercise_inputs/read_only_editors/_multiple_files.html.erb
mumuki-laboratory-9.0.5 app/views/layouts/exercise_inputs/read_only_editors/_multiple_files.html.erb
mumuki-laboratory-9.0.4 app/views/layouts/exercise_inputs/read_only_editors/_multiple_files.html.erb
mumuki-laboratory-9.0.3 app/views/layouts/exercise_inputs/read_only_editors/_multiple_files.html.erb
mumuki-laboratory-9.0.2 app/views/layouts/exercise_inputs/read_only_editors/_multiple_files.html.erb
mumuki-laboratory-9.0.1 app/views/layouts/exercise_inputs/read_only_editors/_multiple_files.html.erb
mumuki-laboratory-9.0.0 app/views/layouts/exercise_inputs/read_only_editors/_multiple_files.html.erb
mumuki-laboratory-8.6.1 app/views/layouts/exercise_inputs/read_only_editors/_multiple_files.html.erb
mumuki-laboratory-8.6.0 app/views/layouts/exercise_inputs/read_only_editors/_multiple_files.html.erb
mumuki-laboratory-8.5.0 app/views/layouts/exercise_inputs/read_only_editors/_multiple_files.html.erb
mumuki-laboratory-8.4.0 app/views/layouts/exercise_inputs/read_only_editors/_multiple_files.html.erb
mumuki-laboratory-8.3.0 app/views/layouts/exercise_inputs/read_only_editors/_multiple_files.html.erb
mumuki-laboratory-8.2.1 app/views/layouts/exercise_inputs/read_only_editors/_multiple_files.html.erb
mumuki-laboratory-8.2.0 app/views/layouts/exercise_inputs/read_only_editors/_multiple_files.html.erb
mumuki-laboratory-8.1.3 app/views/layouts/exercise_inputs/read_only_editors/_multiple_files.html.erb
mumuki-laboratory-8.1.2 app/views/layouts/exercise_inputs/read_only_editors/_multiple_files.html.erb
mumuki-laboratory-8.1.1 app/views/layouts/exercise_inputs/read_only_editors/_multiple_files.html.erb
mumuki-laboratory-8.1.0 app/views/layouts/exercise_inputs/read_only_editors/_multiple_files.html.erb
mumuki-laboratory-7.12.3 app/views/layouts/exercise_inputs/read_only_editors/_multiple_files.html.erb
mumuki-laboratory-8.0.0 app/views/layouts/exercise_inputs/read_only_editors/_multiple_files.html.erb