Sha256: ab1267de4886b3281a8a9d56703e02f040d9a03656a1c8fb0373c0684cdeb910
Contents?: true
Size: 527 Bytes
Versions: 13
Compression:
Stored size: 527 Bytes
Contents
<% if current_user? %> <%= form_for([@exercise, @solution], remote: true, html: {role: 'form', class: 'new_solution mu-editor mu-editor-overlap'}) do |f| %> <%= render_exercise_input_editor f, @exercise %> <div class="actions mu-kids-submit-button"> <%= render_submit_button(@exercise) %> </div> <% end %> <% else %> <p><%= t :you_must_sign_in_before_submitting %></p> <div class="actions"> <%= login_button class: 'btn btn-success btn-block' %> </div> <% end %>
Version data entries
13 entries across 13 versions & 1 rubygems