Sha256: 0b109565fc4850307ea7f394f38e7a72e055d2a8a8648cd18f8640f958a44df8

Contents?: true

Size: 827 Bytes

Versions: 57

Compression:

Stored size: 827 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", placeholder: "Optional comma-delimited list"
    = 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

57 entries across 57 versions & 1 rubygems

Version Path
renalware-core-2.0.147 app/views/renalware/patients/bookmarks/_new.html.slim
renalware-core-2.0.146 app/views/renalware/patients/bookmarks/_new.html.slim
renalware-core-2.0.145 app/views/renalware/patients/bookmarks/_new.html.slim
renalware-core-2.0.144 app/views/renalware/patients/bookmarks/_new.html.slim
renalware-core-2.0.143 app/views/renalware/patients/bookmarks/_new.html.slim
renalware-core-2.0.142 app/views/renalware/patients/bookmarks/_new.html.slim
renalware-core-2.0.141 app/views/renalware/patients/bookmarks/_new.html.slim
renalware-core-2.0.140 app/views/renalware/patients/bookmarks/_new.html.slim
renalware-core-2.0.139 app/views/renalware/patients/bookmarks/_new.html.slim
renalware-core-2.0.138 app/views/renalware/patients/bookmarks/_new.html.slim
renalware-core-2.0.137 app/views/renalware/patients/bookmarks/_new.html.slim
renalware-core-2.0.136 app/views/renalware/patients/bookmarks/_new.html.slim
renalware-core-2.0.135 app/views/renalware/patients/bookmarks/_new.html.slim
renalware-core-2.0.134 app/views/renalware/patients/bookmarks/_new.html.slim
renalware-core-2.0.133 app/views/renalware/patients/bookmarks/_new.html.slim
renalware-core-2.0.132 app/views/renalware/patients/bookmarks/_new.html.slim
renalware-core-2.0.131 app/views/renalware/patients/bookmarks/_new.html.slim
renalware-core-2.0.130 app/views/renalware/patients/bookmarks/_new.html.slim
renalware-core-2.0.129 app/views/renalware/patients/bookmarks/_new.html.slim
renalware-core-2.0.128 app/views/renalware/patients/bookmarks/_new.html.slim