Sha256: 9def2c047b73376bd2de92051e492f5558bef53a2c3fd35e28aff721988158af

Contents?: true

Size: 590 Bytes

Versions: 4

Compression:

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

      .field
        %label options price increment
        = f.number_field :options_price_increment, step: 0.5

      .actions
        = f.submit

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
iron_warbler-2.0.7.26 app/views/iro/stocks/_form.haml
iron_warbler-2.0.7.25 app/views/iro/stocks/_form.haml
iron_warbler-2.0.7.24 app/views/iro/stocks/_form.haml
iron_warbler-2.0.7.23 app/views/iro/stocks/_form.haml