# File app/helpers/proposals_helper.rb, line 16 def author_list_edition_table(auths) res=[table_tag, table_head_row_tag, [_('Position'), _('Name'), ''].map {|col| "<th>#{col}</th>"}, end_table_row_tag] authpos = 0 auths.each do |auth| res << table_row_tag << table_col(link_author_up(auth), link_author_down(auth), authpos+=1) << table_col(auth.person.name) << table_col(link_author_delete(auth)) << end_table_row_tag end res << end_table_tag res.join("\n") end