Sha256: 089002424c232616cfb3a48796ce6d1b4263a3f4d8f1cca8600234a9678dacb2

Contents?: true

Size: 782 Bytes

Versions: 52

Compression:

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

52 entries across 52 versions & 1 rubygems

Version Path
renalware-core-2.0.44 app/views/renalware/patients/bookmarks/_new.html.slim
renalware-core-2.0.43 app/views/renalware/patients/bookmarks/_new.html.slim
renalware-core-2.0.42 app/views/renalware/patients/bookmarks/_new.html.slim
renalware-core-2.0.41 app/views/renalware/patients/bookmarks/_new.html.slim
renalware-core-2.0.40 app/views/renalware/patients/bookmarks/_new.html.slim
renalware-core-2.0.39 app/views/renalware/patients/bookmarks/_new.html.slim
renalware-core-2.0.38 app/views/renalware/patients/bookmarks/_new.html.slim
renalware-core-2.0.37 app/views/renalware/patients/bookmarks/_new.html.slim
renalware-core-2.0.36 app/views/renalware/patients/bookmarks/_new.html.slim
renalware-core-2.0.35 app/views/renalware/patients/bookmarks/_new.html.slim
renalware-core-2.0.34 app/views/renalware/patients/bookmarks/_new.html.slim
renalware-core-2.0.33 app/views/renalware/patients/bookmarks/_new.html.slim
renalware-core-2.0.32 app/views/renalware/patients/bookmarks/_new.html.slim
renalware-core-2.0.31 app/views/renalware/patients/bookmarks/_new.html.slim
renalware-core-2.0.30 app/views/renalware/patients/bookmarks/_new.html.slim
renalware-core-2.0.28 app/views/renalware/patients/bookmarks/_new.html.slim
renalware-core-2.0.27 app/views/renalware/patients/bookmarks/_new.html.slim
renalware-core-2.0.26 app/views/renalware/patients/bookmarks/_new.html.slim
renalware-core-2.0.25 app/views/renalware/patients/bookmarks/_new.html.slim
renalware-core-2.0.24 app/views/renalware/patients/bookmarks/_new.html.slim