Sha256: 5ed9b539e6ba86d4c07c8f26a2c42def7e33fbf6d74040559808a55053c3256c

Contents?: true

Size: 1.14 KB

Versions: 110

Compression:

Stored size: 1.14 KB

Contents

- url = watch.new_record? ? iro_watches_path : iro_watch_path(watch)
.iro-watches--form
  = form_for watch, url: url, as: :iro_watch do |f|
    .flex-row
      .form-group
        = f.select :state, options_for_select( Iro::OptionWatch.states_list, selected: watch.state )
      .form-group
        = f.select :kind, options_for_select( Iro::OptionWatch.kinds_list, selected: watch.kind )
      .form-group
        -# = f.label :action
        = f.select :action, options_for_select( Iro::OptionWatch.actions_list, :selected => watch.action )
      .form-group
        -# = f.label :profile
        = f.select :profile, options_for_select( Ish::UserProfile.list, selected: watch.profile_id ), {}, class: 'select2'
      .form-group
        %label.control-label When
        = f.text_field :ticker, :placeholder => 'ticker'
      .form-group
        %label.control-label is
        = f.select :direction, options_for_select( Iro::OptionWatch.directions_list, selected: watch.direction )
      .form-group
        %label.control-label $
        = f.number_field :mark, :step => 0.01, :placeholder => "0.01"
      .form-group
        = f.submit ">", :class => %w(btn blue)

Version data entries

110 entries across 110 versions & 1 rubygems

Version Path
ish_manager-0.1.8.511 app/views/ish_manager/iro_watches/_form.haml
ish_manager-0.1.8.510 app/views/ish_manager/iro_watches/_form.haml
ish_manager-0.1.8.509 app/views/ish_manager/iro_watches/_form.haml
ish_manager-0.1.8.508 app/views/ish_manager/iro_watches/_form.haml
ish_manager-0.1.8.507 app/views/ish_manager/iro_watches/_form.haml
ish_manager-0.1.8.506 app/views/ish_manager/iro_watches/_form.haml
ish_manager-0.1.8.505 app/views/ish_manager/iro_watches/_form.haml
ish_manager-0.1.8.504 app/views/ish_manager/iro_watches/_form.haml
ish_manager-0.1.8.503 app/views/ish_manager/iro_watches/_form.haml
ish_manager-0.1.8.500 app/views/ish_manager/iro_watches/_form.haml
ish_manager-0.1.8.499 app/views/ish_manager/iro_watches/_form.haml
ish_manager-0.1.8.498 app/views/ish_manager/iro_watches/_form.haml
ish_manager-0.1.8.497 app/views/ish_manager/iro_watches/_form.haml
ish_manager-0.1.8.496 app/views/ish_manager/iro_watches/_form.haml
ish_manager-0.1.8.495 app/views/ish_manager/iro_watches/_form.haml
ish_manager-0.1.8.494 app/views/ish_manager/iro_watches/_form.haml
ish_manager-0.1.8.493 app/views/ish_manager/iro_watches/_form.haml
ish_manager-0.1.8.492 app/views/ish_manager/iro_watches/_form.haml
ish_manager-0.1.8.491 app/views/ish_manager/iro_watches/_form.haml
ish_manager-0.1.8.490 app/views/ish_manager/iro_watches/_form.haml