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.11 app/views/renalware/mdm/_biopsies.html.slim
renalware-core-2.0.9 app/views/renalware/mdm/_biopsies.html.slim
renalware-core-2.0.8 app/views/renalware/mdm/_biopsies.html.slim
renalware-core-2.0.7 app/views/renalware/mdm/_biopsies.html.slim
renalware-core-2.0.5 app/views/renalware/mdm/_biopsies.html.slim
renalware-core-2.0.4 app/views/renalware/mdm/_biopsies.html.slim
renalware-core-2.0.3 app/views/renalware/mdm/_biopsies.html.slim
renalware-core-2.0.2 app/views/renalware/mdm/_biopsies.html.slim
renalware-core-2.0.1 app/views/renalware/mdm/_biopsies.html.slim
renalware-core-2.0.0 app/views/renalware/mdm/_biopsies.html.slim
renalware-core-2.0.0.pre.rc13 app/views/renalware/mdm/_biopsies.html.slim
renalware-core-2.0.0.pre.rc11 app/views/renalware/mdm/_biopsies.html.slim
renalware-core-2.0.0.pre.rc10 app/views/renalware/mdm/_biopsies.html.slim
renalware-core-2.0.0.pre.rc9 app/views/renalware/mdm/_biopsies.html.slim
renalware-core-2.0.0.pre.rc8 app/views/renalware/mdm/_biopsies.html.slim
renalware-core-2.0.0.pre.rc7 app/views/renalware/mdm/_biopsies.html.slim
renalware-core-2.0.0.pre.rc6 app/views/renalware/mdm/_biopsies.html.slim
renalware-core-2.0.0.pre.rc5 app/views/renalware/mdm/_biopsies.html.slim
renalware-core-2.0.0.pre.rc4 app/views/renalware/mdm/_biopsies.html.slim
renalware-core-2.0.0.pre.rc3 app/views/renalware/mdm/_biopsies.html.slim