Sha256: 07161ce2b9fe48848103b062c6ade4b664720abe1d63e372501ef6f4c886bac0

Contents?: true

Size: 770 Bytes

Versions: 5

Compression:

Stored size: 770 Bytes

Contents

- i18_scope = letter.clinical? ? "clincal" : "simple"

= within_patient_layout(title: t(".#{i18_scope}.page_title"),
                        breadcrumbs: letters_breadcrumb(patient)) do

  .document
    = simple_form_for letter,
        url: patient_letters_letters_path(patient, letter.event),
        as: :letter,
        wrapper: "horizontal_form",
        html: { id: "letter-form", autocomplete: "off" } do |f|

      = render "form",
               f: f,
               patient: patient,
               contact: contact,
               contacts: contacts,
               electronic_recipient_options: electronic_recipient_options

= render "add_contact",
          patient: patient,
          contact: contact,
          contact_descriptions: contact_descriptions

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
renalware-core-2.0.0.pre.beta12 app/views/renalware/letters/letters/new.html.slim
renalware-core-2.0.0.pre.beta11 app/views/renalware/letters/letters/new.html.slim
renalware-core-2.0.0.pre.beta10 app/views/renalware/letters/letters/new.html.slim
renalware-core-2.0.0.pre.beta9 app/views/renalware/letters/letters/new.html.slim
renalware-core-2.0.0.pre.beta8 app/views/renalware/letters/letters/new.html.slim