Sha256: d941c823a6839a425aff786cf0fba99c33fd760f39f1a4541d88742890477c40
Contents?: true
Size: 1.01 KB
Versions: 11
Compression:
Stored size: 1.01 KB
Contents
- strategies ||= @strategies .strategies--table %table.bordered %thead %tr %th.actions %th kind %th slug %th stock %th long or short %th next_inner_delta %th.actions %tbody - strategies.each do |sss| %tr %td.actions .d-flex = link_to '[~]', edit_strategy_path(sss) = button_to 'x', strategy_path(sss), method: :delete, data: { confirm: 'Are you sure?' } %td= sss.kind %td= link_to sss.slug, strategy_path(sss) %td.stock = sss.stock %td.long-or-short = sss.long_or_short %td= sss.next_inner_delta %td = form_tag propose_position_path do = hidden_field_tag :strategy_id, sss.id .d-flex %label new position for = select_tag :purse_id, options_for_select(@purses_list), class: 'select2' = submit_tag 'Go' .h-50px
Version data entries
11 entries across 11 versions & 1 rubygems