.positions--header.maxwidth = pos = link_to '[roll]', prepare_to_roll_position_path(pos) if pos.persisted? -# .d-inline-block= button_to 'close', close_position_path(pos), data: { confirm: 'Are you sure?' } = link_to '[close]', close_position_path(pos) = link_to '[~]', edit_position_path(pos) if pos.persisted? -# = render "/iro/positions/header_#{pos.strategy.kind}", pos: pos