added search intervention. search opens new tab with search in the java course (at least in chrome)
send only 3 interventions per exercise at maximum
This commit is contained in:
@@ -23,4 +23,4 @@
|
||||
|
||||
|
||||
= render('shared/modal', id: 'comment-modal', title: t('exercises.implement.comment.request'), template: 'exercises/_request_comment_dialogcontent')
|
||||
= render('shared/modal', id: 'intervention-modal', title: 'Leg mal eine Pause ein', template: 'interventions/_intervention_modal')
|
||||
= render('shared/modal', id: 'intervention-modal', title: 'Hinweis', template: 'interventions/_intervention_modal')
|
@@ -1,9 +1,14 @@
|
||||
/h5 = t('exercises.implement.comment.question')
|
||||
|
||||
h5 = 'Hinweis'
|
||||
/textarea.form-control#question(style='resize:none;')
|
||||
#intervention-text
|
||||
= form_for(@search, multipart: true, target: "_blank") do |f|
|
||||
.form-group
|
||||
= f.text_field(:search, class: 'form-control', required: true)
|
||||
= f.hidden_field :exercise_id
|
||||
|
||||
.actions
|
||||
= f.submit(class: 'btn btn-default btn-search', value: 'Suche', model: @search.class.model_name.human)
|
||||
/p = "AVG: #{@working_time_avg}"
|
||||
/p = "ACCUMULATED: #{@working_time_accumulated}"
|
||||
|
||||
|
0
app/views/searches/destroy.html.erb
Normal file
0
app/views/searches/destroy.html.erb
Normal file
Reference in New Issue
Block a user