Sha256: f1c6ed5f57a6eddfa229f5d6335d0f76942fbc2b652bdb59519e447dc8fcdac5

Contents?: true

Size: 774 Bytes

Versions: 1

Compression:

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

1 entries across 1 versions & 1 rubygems

Version Path
renalware-core-2.0.0.pre.beta12 app/views/renalware/patients/bookmarks/_new.html.slim