Sha256: 025e1d9ebae8c978d8136aa11cb115285dba1b9a6f0f38c0a71e49723a0a0222
Contents?: true
Size: 1.07 KB
Versions: 1
Compression:
Stored size: 1.07 KB
Contents
- purse ||= @purse .header %h5.title Purse `#{purse.slug}` = link_to '[~]', edit_purse_path(purse) = link_to '[table]', purse_path(purse) = link_to '[gameUI]', purse_gameui_path(purse) (#{purse.positions.length}) .d-flex .Card.d-flex = form_for Iro::Position.new(strategy: Iro::Strategy.new), url: new_position_path, method: :get do |f| .a +Position = hidden_field_tag 'position[purse_id]', purse.id .field = f.select :strategy_id, options_for_select(@strategies_list) -# .field -# = f.radio_button :long_or_short, :long -# %label long -# = f.radio_button :long_or_short, :short -# %label short = f.submit 'Go' -# = link_to '[+position]', new_position_path({ purse_id: purse.id }) -# = link_to '[+short]', new_position_path({ purse_id: purse.id, long_or_short: Iro::Strategy::SHORT }) - if true || params[:template] == 'gameui' .mini-inputs = form_for purse, html: { class: 'd-flex' } do |f| = render '/iro/purses/form_extra_fields', f: f = f.submit '>' %br
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
iron_warbler-2.0.7.26 | app/views/iro/purses/_header.haml |