Commit 811652d2 authored by Jiri Strojil's avatar Jiri Strojil
Browse files

Formatting

parent fd3ae2f5
Pipeline #30892 passed with stage
in 43 minutes and 26 seconds
...@@ -18,7 +18,6 @@ class SemesterProcessVolunteersController < ApplicationController ...@@ -18,7 +18,6 @@ class SemesterProcessVolunteersController < ApplicationController
@semester_process_volunteer.volunteer.validate_waive_and_bank = true @semester_process_volunteer.volunteer.validate_waive_and_bank = true
ActiveRecord::Base.transaction do ActiveRecord::Base.transaction do
@semester_process_volunteer.save! @semester_process_volunteer.save!
@volunteer.save! @volunteer.save!
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
h1 Halbjahres-Rapporte #{@semester_process_volunteer.semester_t} für #{@semester_process_volunteer.volunteer.contact.full_name} h1 Halbjahres-Rapporte #{@semester_process_volunteer.semester_t} für #{@semester_process_volunteer.volunteer.contact.full_name}
= f.simple_fields_for :semester_feedbacks, @semester_process_volunteer.semester_process_volunteer_missions do |spvm| = f.simple_fields_for :semester_feedbacks, @semester_process_volunteer.semester_process_volunteer_missions do |spvm|
- mission= spvm.object.mission - mission = spvm.object.mission
h2.m-b-20.m-t-30 h2.m-b-20.m-t-30
'Einsatz 'Einsatz
= link_to mission.to_label, = link_to mission.to_label,
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
= spvm.simple_fields_for :hour, Hour.new do |hf| = spvm.simple_fields_for :hour, Hour.new do |hf|
= hf.input :spv_mission_id, as: :hidden, input_html: { value: spvm.object.id} = hf.input :spv_mission_id, as: :hidden, input_html: { value: spvm.object.id}
.row .row
.col-xs-2= hf.input :hours, label: 'Restliche Stunden in diesem Semester', .col-xs-2= 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} input_html: { value: f.object.hours == 0 ? '' : f.object.hours, min: 0}
......
Supports Markdown
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