Sha256: b6563f3272fa42c772c7ab77f5591a288fa41a5a95e09c0f5926bbf25be22c1a
Contents?: true
Size: 942 Bytes
Versions: 20
Compression:
Stored size: 942 Bytes
Contents
= card(cpd_statement) do %table.table %tbody %tr %th Name %td = cpd_statement.user %br %small= mail_to cpd_statement.user.email - if request.path.start_with?('/admin') %tr %th User %td - url = (polymorphic_admin_path(cpd_statement.user) rescue "/admin/users/#{cpd_statement.user.to_param}/edit") = link_to(cpd_statement.user, url) - if cpd_statement.completed? %tr %th Completed %td= cpd_statement.submitted_at.strftime('%F %H:%M') %tr %th= cpd_cycle_label %td= cpd_statement.cpd_cycle %tr %th Total #{cpd_credits_label} %td= cpd_score(cpd_statement.score, cpd_statement.target_score) - if cpd_statement.carry_forward.to_d > 0.0 %tr.carry-forward %th Carry Forward %td= cpd_score(cpd_statement.carry_forward)
Version data entries
20 entries across 20 versions & 1 rubygems