Sha256: 206e621256f14d9664f9e6bc0f4a64fa1fb356a803d1dbb854ee4516397d6e59

Contents?: true

Size: 787 Bytes

Versions: 20

Compression:

Stored size: 787 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') && respond_to?(:edit_admin_user_path)
          %tr
            %th User
            %td= link_to(cpd_statement.user, edit_admin_user_path(cpd_statement.user))

      - if cpd_statement.completed?
        %tr
          %th Completed
          %td= cpd_statement.submitted_at.strftime('%F %H:%M')

      %tr
        %th= cpd_cycle_label.titleize
        %td= cpd_statement.cpd_cycle

      %tr
        %th Total #{cpd_credits_label.titleize}
        %td= cpd_statement.score

      %tr
        %th Carry Forward
        %td= cpd_statement.carry_forward

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
effective_cpd-0.1.19 app/views/effective/cpd_statements/_summary.html.haml
effective_cpd-0.1.18 app/views/effective/cpd_statements/_summary.html.haml
effective_cpd-0.1.17 app/views/effective/cpd_statements/_summary.html.haml
effective_cpd-0.1.16 app/views/effective/cpd_statements/_summary.html.haml
effective_cpd-0.1.15 app/views/effective/cpd_statements/_summary.html.haml
effective_cpd-0.1.14 app/views/effective/cpd_statements/_summary.html.haml
effective_cpd-0.1.13 app/views/effective/cpd_statements/_summary.html.haml
effective_cpd-0.1.12 app/views/effective/cpd_statements/_summary.html.haml
effective_cpd-0.1.11 app/views/effective/cpd_statements/_summary.html.haml
effective_cpd-0.1.10 app/views/effective/cpd_statements/_summary.html.haml
effective_cpd-0.1.9 app/views/effective/cpd_statements/_summary.html.haml
effective_cpd-0.1.8 app/views/effective/cpd_statements/_summary.html.haml
effective_cpd-0.1.7 app/views/effective/cpd_statements/_summary.html.haml
effective_cpd-0.1.6 app/views/effective/cpd_statements/_summary.html.haml
effective_cpd-0.1.5 app/views/effective/cpd_statements/_summary.html.haml
effective_cpd-0.1.4 app/views/effective/cpd_statements/_summary.html.haml
effective_cpd-0.1.3 app/views/effective/cpd_statements/_summary.html.haml
effective_cpd-0.1.2 app/views/effective/cpd_statements/_summary.html.haml
effective_cpd-0.1.1 app/views/effective/cpd_statements/_summary.html.haml
effective_cpd-0.1 app/views/effective/cpd_statements/_summary.html.haml