Sha256: a59fda60acea756c1856c15a9e50f6885fed6e214aa7900df447fa9ae7cb127a

Contents?: true

Size: 745 Bytes

Versions: 96

Compression:

Stored size: 745 Bytes

Contents

/ Link to launch the modal dialog
= link_to("#",
          data: { "reveal-id" => "add-patient-worry-modal" }) do
  i.far.fa-link-annotation.fa-flag
  = t(".title")

/ The modal dialog
#add-patient-worry-modal.reveal-modal.medium(data-reveal)
  = simple_form_for Renalware::Patients::Worry.new,
                    html: { autocomplete: "off" },
                    url: patient_worry_path(patient) do |f|
    h2= t(".title")
    = f.input :notes,
             as: :text,
             input_html: { autofocus: :autofocus },
             label: "Optional notes"
    = f.submit t(".save"), class: :button
    span= " or "
    = link_to t(".cancel"),
             "#",
             "aria-label" => "Close",
             class: "reveal-modal-close"

Version data entries

96 entries across 96 versions & 1 rubygems

Version Path
renalware-core-2.0.127 app/views/renalware/patients/worries/_new.html.slim
renalware-core-2.0.126 app/views/renalware/patients/worries/_new.html.slim
renalware-core-2.0.125 app/views/renalware/patients/worries/_new.html.slim
renalware-core-2.0.124 app/views/renalware/patients/worries/_new.html.slim
renalware-core-2.0.123 app/views/renalware/patients/worries/_new.html.slim
renalware-core-2.0.121 app/views/renalware/patients/worries/_new.html.slim
renalware-core-2.0.120 app/views/renalware/patients/worries/_new.html.slim
renalware-core-2.0.119 app/views/renalware/patients/worries/_new.html.slim
renalware-core-2.0.118 app/views/renalware/patients/worries/_new.html.slim
renalware-core-2.0.117 app/views/renalware/patients/worries/_new.html.slim
renalware-core-2.0.116 app/views/renalware/patients/worries/_new.html.slim
renalware-core-2.0.115 app/views/renalware/patients/worries/_new.html.slim
renalware-core-2.0.113 app/views/renalware/patients/worries/_new.html.slim
renalware-core-2.0.112 app/views/renalware/patients/worries/_new.html.slim
renalware-core-2.0.111 app/views/renalware/patients/worries/_new.html.slim
renalware-core-2.0.110 app/views/renalware/patients/worries/_new.html.slim
renalware-core-2.0.109 app/views/renalware/patients/worries/_new.html.slim
renalware-core-2.0.108 app/views/renalware/patients/worries/_new.html.slim
renalware-core-2.0.106 app/views/renalware/patients/worries/_new.html.slim
renalware-core-2.0.105 app/views/renalware/patients/worries/_new.html.slim