Sha256: 3cc67b00e6fcccf99862b4bb3bff2f73bd1d5c466c4008f68a3aaf0808252662

Contents?: true

Size: 888 Bytes

Versions: 13

Compression:

Stored size: 888 Bytes

Contents

= within_admin_layout(title: "Editing #{description.code}") do
  = simple_form_for(description) do |f|
    .w-full.max-w-lg
      = f.input :code, input_html: { disabled: :disabled }
      = f.input :name

      h5 Measurement units
      .border.rounded.px-4.py-2.mb-2

        .mr-2.mb-2
          | Unit suggested by recent HL7 messages:
          code.ml-2= description.suggested_measurement_unit&.name
        = f.association :measurement_unit,
                        label: "Current Unit",
                        collection: Renalware::Pathology::MeasurementUnit.for_collection_select

      = f.input :lower_threshold, hint: "Value below which a result can be deemed abnormal"
      = f.input :upper_threshold, hint: "Value above which a result can be deemed abnormal"
      = f.submit class: :button
      '  or
      = link_to "Cancel", pathology_observation_descriptions_path

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
renalware-core-2.0.167 app/views/renalware/pathology/observation_descriptions/edit.html.slim
renalware-core-2.0.166 app/views/renalware/pathology/observation_descriptions/edit.html.slim
renalware-core-2.0.165 app/views/renalware/pathology/observation_descriptions/edit.html.slim
renalware-core-2.0.164 app/views/renalware/pathology/observation_descriptions/edit.html.slim
renalware-core-2.0.163 app/views/renalware/pathology/observation_descriptions/edit.html.slim
renalware-core-2.0.162 app/views/renalware/pathology/observation_descriptions/edit.html.slim
renalware-core-2.0.161 app/views/renalware/pathology/observation_descriptions/edit.html.slim
renalware-core-2.0.160 app/views/renalware/pathology/observation_descriptions/edit.html.slim
renalware-core-2.0.159 app/views/renalware/pathology/observation_descriptions/edit.html.slim
renalware-core-2.0.158 app/views/renalware/pathology/observation_descriptions/edit.html.slim
renalware-core-2.0.157 app/views/renalware/pathology/observation_descriptions/edit.html.slim
renalware-core-2.0.156 app/views/renalware/pathology/observation_descriptions/edit.html.slim
renalware-core-2.0.155 app/views/renalware/pathology/observation_descriptions/edit.html.slim