Sha256: a9d873e86b425ad86bf9e432adbb353a1e0197cdc0e29e6c3a307db689a82a13

Contents?: true

Size: 1 KB

Versions: 47

Compression:

Stored size: 1 KB

Contents

- if summary_part.bookmarked?
  - bookmark = summary_part.bookmark
  .summary-part--bookmark-notes
    article
      header
        h2 Bookmark
        = link_to("Remove",
                  bookmark_path(bookmark),
                  method: :delete,
                  data: { confirm: "Are you sure?" },
                  class: :button)
      - if bookmark.urgent?
          span.urgent Urgent
      - if summary_part.bookmark_tags.any?
        .lozenge
          ul
            - summary_part.bookmark_tags.each do |tag|
              li= tag
      p= summary_part.bookmark_notes

- if summary_part.on_worryboard?
  .summary-part--worryboard-notes
    article
      header
        h2 Worryboard notes
        = link_to("Remove",
                  patient_worry_path( summary_part.patient, summary_part.worry),
                  method: :delete,
                  data: { confirm: "Are you sure you want to remove the patient from the worryboard?" },
                  class: :button)

      p= summary_part.worryboard_notes

Version data entries

47 entries across 47 versions & 1 rubygems

Version Path
renalware-core-2.0.137 app/views/renalware/patients/_summary_part.html.slim
renalware-core-2.0.136 app/views/renalware/patients/_summary_part.html.slim
renalware-core-2.0.135 app/views/renalware/patients/_summary_part.html.slim
renalware-core-2.0.134 app/views/renalware/patients/_summary_part.html.slim
renalware-core-2.0.133 app/views/renalware/patients/_summary_part.html.slim
renalware-core-2.0.132 app/views/renalware/patients/_summary_part.html.slim
renalware-core-2.0.131 app/views/renalware/patients/_summary_part.html.slim
renalware-core-2.0.130 app/views/renalware/patients/_summary_part.html.slim
renalware-core-2.0.129 app/views/renalware/patients/_summary_part.html.slim
renalware-core-2.0.128 app/views/renalware/patients/_summary_part.html.slim
renalware-core-2.0.127 app/views/renalware/patients/_summary_part.html.slim
renalware-core-2.0.126 app/views/renalware/patients/_summary_part.html.slim
renalware-core-2.0.125 app/views/renalware/patients/_summary_part.html.slim
renalware-core-2.0.124 app/views/renalware/patients/_summary_part.html.slim
renalware-core-2.0.123 app/views/renalware/patients/_summary_part.html.slim
renalware-core-2.0.121 app/views/renalware/patients/_summary_part.html.slim
renalware-core-2.0.120 app/views/renalware/patients/_summary_part.html.slim
renalware-core-2.0.119 app/views/renalware/patients/_summary_part.html.slim
renalware-core-2.0.118 app/views/renalware/patients/_summary_part.html.slim
renalware-core-2.0.117 app/views/renalware/patients/_summary_part.html.slim