Sha256: 3e19a31e446b9836c274769927c5aaa59c31848c4150d9a9209df109b388548c

Contents?: true

Size: 741 Bytes

Versions: 7

Compression:

Stored size: 741 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

7 entries across 7 versions & 1 rubygems

Version Path
renalware-core-2.0.0.pre.beta11 app/views/renalware/patients/worries/_new.html.slim
renalware-core-2.0.0.pre.beta10 app/views/renalware/patients/worries/_new.html.slim
renalware-core-2.0.0.pre.beta9 app/views/renalware/patients/worries/_new.html.slim
renalware-core-2.0.0.pre.beta8 app/views/renalware/patients/worries/_new.html.slim
renalware-core-2.0.0.pre.beta7 app/views/renalware/patients/worries/_new.html.slim
renalware-core-2.0.0.pre.beta6 app/views/renalware/patients/worries/_new.html.slim
renalware-core-2.0.0.pre.beta5 app/views/renalware/patients/worries/_new.html.slim