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-7.7.0 app/views/layouts/exercise_inputs/read_only_editors/_multiple_files.html.erb
mumuki-laboratory-7.6.2 app/views/layouts/exercise_inputs/read_only_editors/_multiple_files.html.erb
mumuki-laboratory-7.6.1 app/views/layouts/exercise_inputs/read_only_editors/_multiple_files.html.erb
mumuki-laboratory-7.6.0 app/views/layouts/exercise_inputs/read_only_editors/_multiple_files.html.erb
mumuki-laboratory-7.5.2 app/views/layouts/exercise_inputs/read_only_editors/_multiple_files.html.erb
mumuki-laboratory-7.5.1 app/views/layouts/exercise_inputs/read_only_editors/_multiple_files.html.erb
mumuki-laboratory-7.5.0 app/views/layouts/exercise_inputs/read_only_editors/_multiple_files.html.erb
mumuki-laboratory-7.4.2 app/views/layouts/exercise_inputs/read_only_editors/_multiple_files.html.erb
mumuki-laboratory-7.4.1 app/views/layouts/exercise_inputs/read_only_editors/_multiple_files.html.erb
mumuki-laboratory-7.4.0 app/views/layouts/exercise_inputs/read_only_editors/_multiple_files.html.erb
mumuki-laboratory-7.3.1 app/views/layouts/exercise_inputs/read_only_editors/_multiple_files.html.erb
mumuki-laboratory-7.3.0 app/views/layouts/exercise_inputs/read_only_editors/_multiple_files.html.erb
mumuki-laboratory-7.2.0 app/views/layouts/exercise_inputs/read_only_editors/_multiple_files.html.erb
mumuki-laboratory-7.1.0 app/views/layouts/exercise_inputs/read_only_editors/_multiple_files.html.erb
mumuki-laboratory-7.0.12 app/views/layouts/exercise_inputs/read_only_editors/_multiple_files.html.erb
mumuki-laboratory-7.0.11 app/views/layouts/exercise_inputs/read_only_editors/_multiple_files.html.erb
mumuki-laboratory-7.0.10 app/views/layouts/exercise_inputs/read_only_editors/_multiple_files.html.erb
mumuki-laboratory-7.0.9 app/views/layouts/exercise_inputs/read_only_editors/_multiple_files.html.erb
mumuki-laboratory-7.0.8 app/views/layouts/exercise_inputs/read_only_editors/_multiple_files.html.erb
mumuki-laboratory-7.0.7 app/views/layouts/exercise_inputs/read_only_editors/_multiple_files.html.erb