osem-fcy/app/views/admin/conference/_recent_registrations.html.haml
2014-06-30 15:46:06 +03:00

19 lines
558 B
Text

- if recent_registrations && !recent_registrations.empty?
.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}
%td #{registration.name}
%td #{registration.conference.title}
%td #{registration.created_at.strftime('%m/%d/%Y')}
- else
%h5.text-warning.text-center
No registrations!