Sha256: c5e1c97bd76667dd223ab2b00f551a13d4db096b8c1e0987a34cc01639c0b250

Contents?: true

Size: 842 Bytes

Versions: 44

Compression:

Stored size: 842 Bytes

Contents

tr(class=letter.state.dasherize)
  td.state
    span= letter.state_description
  td= l letter.effective_date
  td= letter.author
  td= link_to letter.patient, patient_clinical_summary_path(letter.patient)
  td= letter.description
  td.actions
    = link_to "Toggle", "#quick-preview-#{letter.id}", data: { behaviour: "toggler" }
    = pipe_separator
    = link_to letter.view_label, patient_letters_letter_path(letter.patient, letter)
    - if policy(letter).update?
      = pipe_separator
      = link_to "Edit", edit_patient_letters_letter_path(letter.patient, letter)
= content_tag(:tr, id: "quick-preview-#{letter.id}", style: "display: none")
  td
  td(colspan=7)
    .quick-preview
      p
        = simple_format letter.body
      - if letter.notes.present?
        .admin-notes
          i Notes:  
          = letter.notes

Version data entries

44 entries across 44 versions & 1 rubygems

Version Path
renalware-core-2.0.80 app/views/renalware/dashboard/letters/_letter.html.slim
renalware-core-2.0.79 app/views/renalware/dashboard/letters/_letter.html.slim
renalware-core-2.0.78 app/views/renalware/dashboard/letters/_letter.html.slim
renalware-core-2.0.77 app/views/renalware/dashboard/letters/_letter.html.slim