|
@@ -3,10 +3,10 @@ link rel="stylesheet" href=url("/assets/bootstrap/3.3.5/bootstrap.min.css")
|
|
|
link rel="stylesheet" href=url("/css/print.css")
|
|
|
link href=url("/css/print_a4_landscape.css") rel="stylesheet" media="all"
|
|
|
-alle_faecher = Set.new
|
|
|
--gesamtzahl_slices= (schueler.count/3) + (1 if (schueler.count.%(3)>0))
|
|
|
--schueler.select{|s| s.bk_abschluss }.each_slice(3).with_index do |(*schueler_slice), slice_i|
|
|
|
+-gesamtzahl_slices= (schueler.count/4) + (1 if (schueler.count.%(4)>0))
|
|
|
+-schueler.select{|s| s.bk_abschluss }.each_slice(4).with_index do |(*schueler_slice), slice_i|
|
|
|
.page
|
|
|
- .subpage.font-small
|
|
|
+ .subpage
|
|
|
.row
|
|
|
.col-xs-12
|
|
|
h5
|
|
@@ -33,7 +33,7 @@ link href=url("/css/print_a4_landscape.css") rel="stylesheet" media="all"
|
|
|
-array << inner_array
|
|
|
-array = array.transpose
|
|
|
-faecher = array.shift
|
|
|
- .row
|
|
|
+ .row.font-small
|
|
|
.col-xs-8
|
|
|
b #{i+1+(3*slice_i)}. #{s.name}, #{s.vorname}
|
|
|
table.table.table-condensed.table-bordered.fixed.table-eng
|