Sha256: 6e60818dca9d56fd8ea652df97746cc3399c02daa338a09009776986e35cbba1

Contents?: true

Size: 475 Bytes

Versions: 14

Compression:

Stored size: 475 Bytes

Contents

.iro-stocks--form
  = form_for stock do |f|
    .flex-row

      .field
        - if stock.new_record?
          %label New
        - else
          = f.select :status, options_for_select([ Iro::Stock::STATUS_ACTIVE, Iro::Stock::STATUS_INACTIVE ], selected: stock.status)
      .field
        = f.label :ticker
        = f.text_field :ticker

      .field
        %label Last
        = f.number_field :last, placeholder: '80.0', step: 0.01
      .actions
        = f.submit

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
iron_warbler-2.0.7.22 app/views/iro/stocks/_form.haml
iron_warbler-2.0.7.21 app/views/iro/stocks/_form.haml
iron_warbler-2.0.7.20 app/views/iro/stocks/_form.haml
iron_warbler-2.0.7.19 app/views/iro/stocks/_form.haml
iron_warbler-2.0.7.18 app/views/iro/stocks/_form.haml
iron_warbler-2.0.7.17 app/views/iro/stocks/_form.haml
iron_warbler-2.0.7.16 app/views/iro/stocks/_form.haml
iron_warbler-2.0.7.15 app/views/iro/stocks/_form.haml
iron_warbler-2.0.7.14 app/views/iro/stocks/_form.haml
iron_warbler-2.0.7.13 app/views/iro/stocks/_form.haml
iron_warbler-2.0.7.12 app/views/iro/stocks/_form.haml
iron_warbler-2.0.7.11 app/views/iro/stocks/_form.haml
iron_warbler-2.0.7.10 app/views/iro/stocks/_form.haml
iron_warbler-2.0.7.9 app/views/iro/stocks/_form.haml