Commit 63425901 authored by Chrysanthi Lagodimou's avatar Chrysanthi Lagodimou

Box should be on top when review semester is submitted

parent 552b98a2
Pipeline #31111 passed with stage
in 61 minutes and 51 seconds
......@@ -3,6 +3,10 @@
url: submit_review_semester_process_volunteer_path(@semester_process_volunteer)) do |f|
= simple_error_notice f
h1 Halbjahres-Rapporte #{@semester_process_volunteer.semester_t} für #{@semester_process_volunteer.volunteer.contact.full_name}
- if disabled
.submit-box
.col-xs-12
p.text-danger Bestätigt am #{l(@semester_process_volunteer.commited_at.to_date)} durch #{profile_link(@semester_process_volunteer.commited_by)}
= f.simple_fields_for :semester_feedbacks, @semester_process_volunteer.semester_process_volunteer_missions do |spvm|
- mission = spvm.object.mission
......@@ -25,7 +29,7 @@
= spvm.simple_fields_for :hour, Hour.new do |hf|
= hf.input :spv_mission_id, as: :hidden, input_html: { value: spvm.object.id}
.row
.col-xs-2= hf.input :hours, label: "Restliche Stunden in diesem Semester #{@semester_process_volunteer.semester_period}",
.col-xs-12= hf.input :hours, label: "Restliche Stunden in diesem Semester #{@semester_process_volunteer.semester_period}",
input_html: { value: f.object.hours == 0 ? '' : f.object.hours, min: 0},
required: false,
disabled: disabled
......@@ -41,10 +45,8 @@
.col-xs-4= vf.input :iban, disabled: disabled
.col-xs-4= vf.input :bank, disabled: disabled
.submit-box
.col-xs-12
p Ich bestätige, dass ich alle meine Stunden und Halbjahres-Rapporte bis zum heutigen Datum erfasst habe.
- if disabled
p.text-danger Bestätigt am #{l(@semester_process_volunteer.commited_at.to_date)} durch #{profile_link(@semester_process_volunteer.commited_by)}
- else
- unless disabled
.submit-box
.col-xs-12
p Ich bestätige, dass ich alle meine Stunden und Halbjahres-Rapporte bis zum heutigen Datum erfasst habe.
= f.submit 'Bestätigen', class: 'btn btn-lg-accepted'
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment