Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
open-source
aoz-003
Commits
811652d2
Commit
811652d2
authored
Nov 15, 2018
by
Jiri Strojil
Browse files
Formatting
parent
fd3ae2f5
Pipeline
#30892
passed with stage
in 43 minutes and 26 seconds
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
app/controllers/semester_process_volunteers_controller.rb
View file @
811652d2
...
...
@@ -18,7 +18,6 @@ class SemesterProcessVolunteersController < ApplicationController
@semester_process_volunteer
.
volunteer
.
validate_waive_and_bank
=
true
ActiveRecord
::
Base
.
transaction
do
@semester_process_volunteer
.
save!
@volunteer
.
save!
...
...
app/views/semester_process_volunteers/review_semester.html.slim
View file @
811652d2
...
...
@@ -4,7 +4,7 @@
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
|
-
mission
=
spvm
.
object
.
mission
-
mission
=
spvm
.
object
.
mission
h2
.m-b-20.m-t-30
'
Einsatz
=
link_to
mission
.
to_label
,
...
...
@@ -24,7 +24,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
'
,
.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
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment