osem-fcy/app/views/admin/conference/_recent_registrations.html.haml

20 lines
558 B
Text
Raw Normal View History

- if recent_registrations && !recent_registrations.empty?
2014-06-16 13:51:43 +02:00
.table-responsive
%table.table
%thead
%tr
%th #
%th Public Name
%th Conference
%th Date
- recent_registrations.each_with_index do |registration, index|
%tbody
%tr
%td #{index + 1}
2014-06-23 19:07:50 +03:00
%td #{registration.name}
2014-06-16 13:51:43 +02:00
%td #{registration.conference.title}
%td #{registration.created_at.strftime('%m/%d/%Y')}
- else
%h5.text-warning.text-center
2014-06-23 19:07:50 +03:00
No registrations!