Sha256: 63a3911241a39a8995138c2ccd59631b3b8eac409aa8a29de591b8dd5e0141a2

Contents?: true

Size: 539 Bytes

Versions: 90

Compression:

Stored size: 539 Bytes

Contents

- relation = Renalware::Events::Biopsy.for_patient(mdm.patient).includes(:created_by)
- biopsies = relation.limit(6).ordered
- total_biopsies = relation.count

article.events
  header
    h2 Biopsies
    .supplemental
      span= "#{biopsies.length} of #{total_biopsies}"
      = link_to "View All",
                patient_events_path(mdm.patient),
                class: "button secondary"

  = render "renalware/events/events/table",
           events: biopsies,
           exclude_type_column: true,
           toggle_prefix: "biopsy"

Version data entries

90 entries across 90 versions & 1 rubygems

Version Path
renalware-core-2.0.77 app/views/renalware/mdm/_biopsies.html.slim
renalware-core-2.0.76 app/views/renalware/mdm/_biopsies.html.slim
renalware-core-2.0.75 app/views/renalware/mdm/_biopsies.html.slim
renalware-core-2.0.74 app/views/renalware/mdm/_biopsies.html.slim
renalware-core-2.0.73 app/views/renalware/mdm/_biopsies.html.slim
renalware-core-2.0.72 app/views/renalware/mdm/_biopsies.html.slim
renalware-core-2.0.71 app/views/renalware/mdm/_biopsies.html.slim
renalware-core-2.0.70 app/views/renalware/mdm/_biopsies.html.slim
renalware-core-2.0.69 app/views/renalware/mdm/_biopsies.html.slim
renalware-core-2.0.68 app/views/renalware/mdm/_biopsies.html.slim
renalware-core-2.0.67 app/views/renalware/mdm/_biopsies.html.slim
renalware-core-2.0.64 app/views/renalware/mdm/_biopsies.html.slim
renalware-core-2.0.63 app/views/renalware/mdm/_biopsies.html.slim
renalware-core-2.0.62 app/views/renalware/mdm/_biopsies.html.slim
renalware-core-2.0.61 app/views/renalware/mdm/_biopsies.html.slim
renalware-core-2.0.60 app/views/renalware/mdm/_biopsies.html.slim
renalware-core-2.0.58 app/views/renalware/mdm/_biopsies.html.slim
renalware-core-2.0.57 app/views/renalware/mdm/_biopsies.html.slim
renalware-core-2.0.56 app/views/renalware/mdm/_biopsies.html.slim
renalware-core-2.0.55 app/views/renalware/mdm/_biopsies.html.slim