Sha256: 750cd82818dcea19c88c58e3a1af864ac59db32810ad06edf6ce1b3a8b26eddc

Contents?: true

Size: 781 Bytes

Versions: 39

Compression:

Stored size: 781 Bytes

Contents

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

39 entries across 39 versions & 1 rubygems

Version Path
renalware-core-2.0.87 app/views/renalware/patients/bookmarks/_new.html.slim
renalware-core-2.0.86 app/views/renalware/patients/bookmarks/_new.html.slim
renalware-core-2.0.85 app/views/renalware/patients/bookmarks/_new.html.slim
renalware-core-2.0.84 app/views/renalware/patients/bookmarks/_new.html.slim
renalware-core-2.0.83 app/views/renalware/patients/bookmarks/_new.html.slim
renalware-core-2.0.82 app/views/renalware/patients/bookmarks/_new.html.slim
renalware-core-2.0.81 app/views/renalware/patients/bookmarks/_new.html.slim
renalware-core-2.0.80 app/views/renalware/patients/bookmarks/_new.html.slim
renalware-core-2.0.79 app/views/renalware/patients/bookmarks/_new.html.slim
renalware-core-2.0.78 app/views/renalware/patients/bookmarks/_new.html.slim
renalware-core-2.0.77 app/views/renalware/patients/bookmarks/_new.html.slim
renalware-core-2.0.76 app/views/renalware/patients/bookmarks/_new.html.slim
renalware-core-2.0.75 app/views/renalware/patients/bookmarks/_new.html.slim
renalware-core-2.0.74 app/views/renalware/patients/bookmarks/_new.html.slim
renalware-core-2.0.73 app/views/renalware/patients/bookmarks/_new.html.slim
renalware-core-2.0.72 app/views/renalware/patients/bookmarks/_new.html.slim
renalware-core-2.0.71 app/views/renalware/patients/bookmarks/_new.html.slim
renalware-core-2.0.70 app/views/renalware/patients/bookmarks/_new.html.slim
renalware-core-2.0.69 app/views/renalware/patients/bookmarks/_new.html.slim
renalware-core-2.0.68 app/views/renalware/patients/bookmarks/_new.html.slim