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.54 app/views/renalware/mdm/_biopsies.html.slim
renalware-core-2.0.53 app/views/renalware/mdm/_biopsies.html.slim
renalware-core-2.0.52 app/views/renalware/mdm/_biopsies.html.slim
renalware-core-2.0.51 app/views/renalware/mdm/_biopsies.html.slim
renalware-core-2.0.50 app/views/renalware/mdm/_biopsies.html.slim
renalware-core-2.0.48 app/views/renalware/mdm/_biopsies.html.slim
renalware-core-2.0.47 app/views/renalware/mdm/_biopsies.html.slim
renalware-core-2.0.46 app/views/renalware/mdm/_biopsies.html.slim
renalware-core-2.0.45 app/views/renalware/mdm/_biopsies.html.slim
renalware-core-2.0.44 app/views/renalware/mdm/_biopsies.html.slim
renalware-core-2.0.43 app/views/renalware/mdm/_biopsies.html.slim
renalware-core-2.0.42 app/views/renalware/mdm/_biopsies.html.slim
renalware-core-2.0.41 app/views/renalware/mdm/_biopsies.html.slim
renalware-core-2.0.40 app/views/renalware/mdm/_biopsies.html.slim
renalware-core-2.0.39 app/views/renalware/mdm/_biopsies.html.slim
renalware-core-2.0.38 app/views/renalware/mdm/_biopsies.html.slim
renalware-core-2.0.37 app/views/renalware/mdm/_biopsies.html.slim
renalware-core-2.0.36 app/views/renalware/mdm/_biopsies.html.slim
renalware-core-2.0.35 app/views/renalware/mdm/_biopsies.html.slim
renalware-core-2.0.34 app/views/renalware/mdm/_biopsies.html.slim