Sha256: 1764622f2a11206871587f626d49f30c8f7fd15adb766e78dd1adb0ac26b35b5

Contents?: true

Size: 491 Bytes

Versions: 5

Compression:

Stored size: 491 Bytes

Contents

/ This partial is pulled in when the whole page renders, and creates the link and
/ associated modal dialog wiring sending a message.
- patient = Renalware::Messaging.cast_patient(patient)
- url = new_messaging_internal_message_path(patient_id: patient, format: :html)

/ Link to launch the modal dialog
=link_to(url,
         id: "send-patient-message",
         data: { "reveal-id" => "send-message-modal", "reveal-ajax" => "true" }) do
  i.fa.fa-link-annotation.fa-envelope
  = link_text

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
renalware-core-2.0.0.pre.beta12 app/views/renalware/messaging/internal/messages/_send_message_link.html.slim
renalware-core-2.0.0.pre.beta11 app/views/renalware/messaging/internal/messages/_send_message_link.html.slim
renalware-core-2.0.0.pre.beta10 app/views/renalware/messaging/internal/messages/_send_message_link.html.slim
renalware-core-2.0.0.pre.beta9 app/views/renalware/messaging/internal/messages/_send_message_link.html.slim
renalware-core-2.0.0.pre.beta8 app/views/renalware/messaging/internal/messages/_send_message_link.html.slim