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.147 app/views/renalware/patients/worries/_new.html.slim
renalware-core-2.0.146 app/views/renalware/patients/worries/_new.html.slim
renalware-core-2.0.145 app/views/renalware/patients/worries/_new.html.slim
renalware-core-2.0.144 app/views/renalware/patients/worries/_new.html.slim
renalware-core-2.0.143 app/views/renalware/patients/worries/_new.html.slim
renalware-core-2.0.142 app/views/renalware/patients/worries/_new.html.slim
renalware-core-2.0.141 app/views/renalware/patients/worries/_new.html.slim
renalware-core-2.0.140 app/views/renalware/patients/worries/_new.html.slim
renalware-core-2.0.139 app/views/renalware/patients/worries/_new.html.slim
renalware-core-2.0.138 app/views/renalware/patients/worries/_new.html.slim
renalware-core-2.0.137 app/views/renalware/patients/worries/_new.html.slim
renalware-core-2.0.136 app/views/renalware/patients/worries/_new.html.slim
renalware-core-2.0.135 app/views/renalware/patients/worries/_new.html.slim
renalware-core-2.0.134 app/views/renalware/patients/worries/_new.html.slim
renalware-core-2.0.133 app/views/renalware/patients/worries/_new.html.slim
renalware-core-2.0.132 app/views/renalware/patients/worries/_new.html.slim
renalware-core-2.0.131 app/views/renalware/patients/worries/_new.html.slim
renalware-core-2.0.130 app/views/renalware/patients/worries/_new.html.slim
renalware-core-2.0.129 app/views/renalware/patients/worries/_new.html.slim
renalware-core-2.0.128 app/views/renalware/patients/worries/_new.html.slim