Sha256: 408195c892ecd5b16666a148c1206ac2cf1ec533e377c0d3206667bc8ada9c33

Contents?: true

Size: 1.13 KB

Versions: 177

Compression:

Stored size: 1.13 KB

Contents

= f.hidden_field :drug_id, class: "selected-drug-id"

.row.medication-type-field
  .small-12.medium-4.large-3.columns
    = label_tag :medication_switch, t(".medication_switch.label")
  .small-12.medium-8.large-9.columns
    = select_tag :medication_switch,
                 drug_select_options,
                 { prompt: t(".medication_switch.prompt"),
                   class: "medication-type-select medium-input" }

/! Search all drugs
.row.standard
  .small-12.medium-4.large-3.columns
    = label_tag :drug_search, t(".drug_search.label")
  .small-12.medium-8.large-9.columns
    = text_field_tag :drug_search,
                     f.object.drug_name,
                     class: " medium-input find_drug #{highlight_validation_fail(f.object, :drug)}",
                     placeholder: t(".drug_search.placeholder")

    ul.drug-results.no-bullet

/! Show only when selecting drugs by category/type.
.row.drug-by-select
  .small-12.medium-4.large-3.columns
    = label_tag :drug_select, t(".drug_select.label")
  .small-12.medium-8.large-9.columns
    = select_tag :drug_select,
                [],
                class: "drug-select medium-input"

Version data entries

177 entries across 177 versions & 1 rubygems

Version Path
renalware-core-2.1.1 app/views/renalware/medications/prescriptions/drug_select/_default_fields.html.slim
renalware-core-2.1.0 app/views/renalware/medications/prescriptions/drug_select/_default_fields.html.slim
renalware-core-2.0.167 app/views/renalware/medications/prescriptions/drug_select/_default_fields.html.slim
renalware-core-2.0.166 app/views/renalware/medications/prescriptions/drug_select/_default_fields.html.slim
renalware-core-2.0.165 app/views/renalware/medications/prescriptions/drug_select/_default_fields.html.slim
renalware-core-2.0.164 app/views/renalware/medications/prescriptions/drug_select/_default_fields.html.slim
renalware-core-2.0.163 app/views/renalware/medications/prescriptions/drug_select/_default_fields.html.slim
renalware-core-2.0.162 app/views/renalware/medications/prescriptions/drug_select/_default_fields.html.slim
renalware-core-2.0.161 app/views/renalware/medications/prescriptions/drug_select/_default_fields.html.slim
renalware-core-2.0.160 app/views/renalware/medications/prescriptions/drug_select/_default_fields.html.slim
renalware-core-2.0.159 app/views/renalware/medications/prescriptions/drug_select/_default_fields.html.slim
renalware-core-2.0.158 app/views/renalware/medications/prescriptions/drug_select/_default_fields.html.slim
renalware-core-2.0.157 app/views/renalware/medications/prescriptions/drug_select/_default_fields.html.slim
renalware-core-2.0.156 app/views/renalware/medications/prescriptions/drug_select/_default_fields.html.slim
renalware-core-2.0.155 app/views/renalware/medications/prescriptions/drug_select/_default_fields.html.slim
renalware-core-2.0.153 app/views/renalware/medications/prescriptions/drug_select/_default_fields.html.slim
renalware-core-2.0.152 app/views/renalware/medications/prescriptions/drug_select/_default_fields.html.slim
renalware-core-2.0.151 app/views/renalware/medications/prescriptions/drug_select/_default_fields.html.slim
renalware-core-2.0.149 app/views/renalware/medications/prescriptions/drug_select/_default_fields.html.slim
renalware-core-2.0.148 app/views/renalware/medications/prescriptions/drug_select/_default_fields.html.slim