app/views/iro/positions/_header.haml in iron_warbler-2.0.7.25 vs app/views/iro/positions/_header.haml in iron_warbler-2.0.7.26
- old
+ new
@@ -1,6 +1,8 @@
.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