Sha256: 4fd2ce4ad519bb3616caf07c4b41d698fa7cf6678bd10a4b3ee2fc3e2c94d0a2

Contents?: true

Size: 740 Bytes

Versions: 7

Compression:

Stored size: 740 Bytes

Contents

/ Link to launch the modal dialog
= link_to("#", data: { "reveal-id" => "add-patient-bookmark-modal" }) do
  i.fa.fa-link-annotation.fa-bookmark-o
  = link_text

/ The modal dialog
#add-patient-bookmark-modal.reveal-modal.medium(data-reveal)
  =simple_form_for patient.bookmarks.new,
                   html: { autocomplete: "off" },
                   url: patient_bookmarks_path(patient_id: patient) do |f|
    h2= t(".title")
    =f.input :urgent, as: :boolean, boolean_style: :inline
    =f.input :notes, as: :text, input_html: { autofocus: :autofocus }
    =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/bookmarks/_new.html.slim
renalware-core-2.0.0.pre.beta10 app/views/renalware/patients/bookmarks/_new.html.slim
renalware-core-2.0.0.pre.beta9 app/views/renalware/patients/bookmarks/_new.html.slim
renalware-core-2.0.0.pre.beta8 app/views/renalware/patients/bookmarks/_new.html.slim
renalware-core-2.0.0.pre.beta7 app/views/renalware/patients/bookmarks/_new.html.slim
renalware-core-2.0.0.pre.beta6 app/views/renalware/patients/bookmarks/_new.html.slim
renalware-core-2.0.0.pre.beta5 app/views/renalware/patients/bookmarks/_new.html.slim