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.62 app/views/renalware/patients/worries/_new.html.slim
renalware-core-2.0.61 app/views/renalware/patients/worries/_new.html.slim
renalware-core-2.0.60 app/views/renalware/patients/worries/_new.html.slim
renalware-core-2.0.58 app/views/renalware/patients/worries/_new.html.slim
renalware-core-2.0.57 app/views/renalware/patients/worries/_new.html.slim
renalware-core-2.0.56 app/views/renalware/patients/worries/_new.html.slim
renalware-core-2.0.55 app/views/renalware/patients/worries/_new.html.slim
renalware-core-2.0.54 app/views/renalware/patients/worries/_new.html.slim
renalware-core-2.0.53 app/views/renalware/patients/worries/_new.html.slim
renalware-core-2.0.52 app/views/renalware/patients/worries/_new.html.slim
renalware-core-2.0.51 app/views/renalware/patients/worries/_new.html.slim
renalware-core-2.0.50 app/views/renalware/patients/worries/_new.html.slim
renalware-core-2.0.48 app/views/renalware/patients/worries/_new.html.slim
renalware-core-2.0.47 app/views/renalware/patients/worries/_new.html.slim
renalware-core-2.0.46 app/views/renalware/patients/worries/_new.html.slim
renalware-core-2.0.45 app/views/renalware/patients/worries/_new.html.slim