Sha256: 3741636b14dd3b856ae0eab58f4a3fac59a0ac500d25b1f37f2cccdc7dbca445

Contents?: true

Size: 1.09 KB

Versions: 10

Compression:

Stored size: 1.09 KB

Contents

.iro-alerts--form.flex-row
  .w-min-50px
    - if !alert.new_record?
      = button_to '[x]', alert_path( alert ), method: :delete, data: { confirm: 'Are you sure?' }
    - else
       
  = form_for alert do |f|
    .flex-row
      .field
        - if alert.new_record?
          %label New
        - else
          = f.select :status, options_for_select([ 'active', 'inactive' ], selected: alert.status )
      -# .field
      -#   %label Notify
      -#   = f.select :profile_id, options_for_select( @profiles_list, selected: alert.profile_id )
      .field
        %label When
        = f.select :class_name, options_for_select([ nil, 'Iro::Stock', 'Iro::Option' ])
      -# .field
      -#   = f.label :kind
      -#   = f.text_field :kind
      .field
        = f.label :symbol
        = f.select :symbol, options_for_select( @stocks_list, selected: alert.symbol )
      .field
        = f.label :direction
        = f.select :direction, options_for_select([ :ABOVE, :BELOW ], selected: alert.direction)
      .field
        = f.label :strike
        = f.text_field :strike

      .actions
        = f.submit

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
iron_warbler-2.0.7.10 app/views/iro/alerts/_form.haml
iron_warbler-2.0.7.9 app/views/iro/alerts/_form.haml
iron_warbler-2.0.7.8 app/views/iro/alerts/_form.haml
iron_warbler-2.0.7.7 app/views/iro/alerts/_form.haml
iron_warbler-2.0.7.6 app/views/iro/alerts/_form.haml
iron_warbler-2.0.7.5 app/views/iro/alerts/_form.haml
iron_warbler-2.0.7.4 app/views/iro/alerts/_form.haml
iron_warbler-2.0.7.3 app/views/iro/alerts/_form.haml
iron_warbler-2.0.7.2 app/views/iro/alerts/_form.haml
iron_warbler-2.0.7.1 app/views/iro/alerts/_form.haml