Sha256: 43c0341de6a11848c4f829e8ddc04a974e17da4f22bd670d085cf9ef0ed8e8aa
Contents?: true
Size: 1.14 KB
Versions: 18
Compression:
Stored size: 1.14 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 %label Status = f.select :status, options_for_select(Iro::Alert::STATUSES, 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' ], selected: alert.class_name ) -# .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
18 entries across 18 versions & 1 rubygems