Sha256: 78c884694772c1d1bd2108a4db91802388e279ab0bfc81d1c2fbde20ccaa79ab
Contents?: true
Size: 687 Bytes
Versions: 39
Compression:
Stored size: 687 Bytes
Contents
<div> <% @max_file_size = 256000 %> <textarea id="solution_content" type="text" name="solution[content]" class="d-none"></textarea> <input id="mu-upload-input" type="file" class="upload submission-control d-none" mu-upload-file-limit=<%= @max_file_size %> accept=".<%= @exercise.language.extension %>" /> <div> <label id="mu-upload-label" for="mu-upload-input" class="btn btn-complementary"> <%= fa_icon(:upload, text: t(:select_file), id: "mu-upload-icon") %> </label> <div id="mu-upload-file-limit-exceeded" class="d-none"> <%= fa_icon("exclamation-triangle", text: t(:file_exceeds_max_size, size_kb: (@max_file_size / 1000))) %></div> </div> </div>
Version data entries
39 entries across 39 versions & 1 rubygems