Sha256: b875877769bbde43f63bf7e24ee50bae5313e0839d25b4e0734ba9ae680bcc54

Contents?: true

Size: 1.24 KB

Versions: 2

Compression:

Stored size: 1.24 KB

Contents

.study-participants-table
  table
    thead
      tr
        th.col-width-date= sort_link(query, :joined_on, "Joined on")
        th.col-width-date= sort_link(query, :left_on, "Left on")
        th Patient
        th.col-width-nhs-no NHS Number
        th.col-width-reference-no Hosp no
        th.col-width-tiny Age
        th Sex
        th External ID
        th.col-width-small
    tbody
      - participants.each do |participant|
        tr
          td= l(participant.joined_on)
          td= l(participant.left_on)
          td= default_patient_link(participant.patient)
          td= participant.patient.nhs_number
          td= participant.patient.hospital_identifiers
          td= participant.patient.age
          td= participant.patient.sex
          td= participant.external_id
          td.actions
            = link_to t("btn.delete"),
                      research_study_participant_path(study, participant),
                      method: :delete,
                      data: { confirm: "Are you sure?" }
            = link_to(t("btn.edit"),
                      edit_research_study_participant_path(study, participant),
                      data: { "reveal-id" => "study-participant-modal", "reveal-ajax" => "true" })

  = paginate participants

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
renalware-core-2.1.1 app/views/renalware/research/study_participants/_table.html.slim
renalware-core-2.1.0 app/views/renalware/research/study_participants/_table.html.slim