mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
19 lines
658 B
Text
19 lines
658 B
Text
- headers = ['Booth ID',
|
|
'Title',
|
|
'Description',
|
|
'Reasoning',
|
|
'Submitter Name',
|
|
'Submitter Relationship',
|
|
'Website Url',
|
|
'State']
|
|
= CSV.generate_line ['All booths']
|
|
= CSV.generate_line headers
|
|
- @booths.confirmed.each do |booth|
|
|
= CSV.generate_line([booth.id,
|
|
booth.title,
|
|
booth.description,
|
|
booth.reasoning,
|
|
booth.submitter.name,
|
|
booth.submitter_relationship,
|
|
booth.website_url,
|
|
booth.state]).html_safe
|