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

Version Path
mumuki-laboratory-5.0.12 app/views/layouts/exercise_inputs/forms/_kids_form.html.erb
mumuki-laboratory-5.0.11 app/views/layouts/exercise_inputs/forms/_kids_form.html.erb
mumuki-laboratory-5.0.10 app/views/layouts/exercise_inputs/forms/_kids_form.html.erb
mumuki-laboratory-5.0.9 app/views/layouts/exercise_inputs/forms/_kids_form.html.erb
mumuki-laboratory-5.0.8 app/views/layouts/exercise_inputs/forms/_kids_form.html.erb
mumuki-laboratory-5.0.7 app/views/layouts/exercise_inputs/forms/_kids_form.html.erb
mumuki-laboratory-5.0.6 app/views/layouts/exercise_inputs/forms/_kids_form.html.erb
mumuki-laboratory-5.0.5 app/views/layouts/exercise_inputs/forms/_kids_form.html.erb
mumuki-laboratory-5.0.4 app/views/layouts/exercise_inputs/forms/_kids_form.html.erb
mumuki-laboratory-5.0.3 app/views/layouts/exercise_inputs/forms/_kids_form.html.erb
mumuki-laboratory-5.0.2 app/views/layouts/exercise_inputs/forms/_kids_form.html.erb
mumuki-laboratory-5.0.1 app/views/layouts/exercise_inputs/forms/_kids_form.html.erb
mumuki-laboratory-5.0.0 app/views/layouts/exercise_inputs/forms/_kids_form.html.erb