Sha256: 3b0e8e38d10308873da6f912cef707ff7723fe21aad1a78428d49f6fa0b5bb71

Contents?: true

Size: 746 Bytes

Versions: 52

Compression:

Stored size: 746 Bytes

Contents

/ Link to launch the modal dialog
= link_to("#",
          data: { "reveal-id" => "add-patient-worry-modal" }) do
  i.fa.fa-link-annotation.fa-flag-o
  = 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

52 entries across 52 versions & 1 rubygems

Version Path
renalware-core-2.0.44 app/views/renalware/patients/worries/_new.html.slim
renalware-core-2.0.43 app/views/renalware/patients/worries/_new.html.slim
renalware-core-2.0.42 app/views/renalware/patients/worries/_new.html.slim
renalware-core-2.0.41 app/views/renalware/patients/worries/_new.html.slim
renalware-core-2.0.40 app/views/renalware/patients/worries/_new.html.slim
renalware-core-2.0.39 app/views/renalware/patients/worries/_new.html.slim
renalware-core-2.0.38 app/views/renalware/patients/worries/_new.html.slim
renalware-core-2.0.37 app/views/renalware/patients/worries/_new.html.slim
renalware-core-2.0.36 app/views/renalware/patients/worries/_new.html.slim
renalware-core-2.0.35 app/views/renalware/patients/worries/_new.html.slim
renalware-core-2.0.34 app/views/renalware/patients/worries/_new.html.slim
renalware-core-2.0.33 app/views/renalware/patients/worries/_new.html.slim
renalware-core-2.0.32 app/views/renalware/patients/worries/_new.html.slim
renalware-core-2.0.31 app/views/renalware/patients/worries/_new.html.slim
renalware-core-2.0.30 app/views/renalware/patients/worries/_new.html.slim
renalware-core-2.0.28 app/views/renalware/patients/worries/_new.html.slim
renalware-core-2.0.27 app/views/renalware/patients/worries/_new.html.slim
renalware-core-2.0.26 app/views/renalware/patients/worries/_new.html.slim
renalware-core-2.0.25 app/views/renalware/patients/worries/_new.html.slim
renalware-core-2.0.24 app/views/renalware/patients/worries/_new.html.slim