Fix registrations csv
This commit is contained in:
parent
b553e0fed7
commit
bf189af6e2
1 changed files with 2 additions and 6 deletions
|
|
@ -2,15 +2,11 @@
|
||||||
'Name',
|
'Name',
|
||||||
'Nickname',
|
'Nickname',
|
||||||
'Affilιation',
|
'Affilιation',
|
||||||
'Email',
|
'Email']
|
||||||
'Arrival',
|
|
||||||
'Departure']
|
|
||||||
= CSV.generate_line headers
|
= CSV.generate_line headers
|
||||||
- @registrations.each do |registration|
|
- @registrations.each do |registration|
|
||||||
= CSV.generate_line([registration.attended ? 'X' : '',
|
= CSV.generate_line([registration.attended ? 'X' : '',
|
||||||
registration.name,
|
registration.name,
|
||||||
registration.nickname,
|
registration.nickname,
|
||||||
registration.affiliation,
|
registration.affiliation,
|
||||||
registration.email,
|
registration.email])
|
||||||
registration.arrival.to_s,
|
|
||||||
registration.departure.to_s])
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue