The button to select/deselect a proposal wasn't very intuitive; for
example, it wasn't obvious that pressing a button saying "selected"
would deselect the proposal.
So we're using a switch control, like we do to enable/disable features
since commit fabe97e50.
2 lines
96 B
Plaintext
2 lines
96 B
Plaintext
<%= render Admin::ToggleSwitchComponent.new(action, proposal, pressed: selected?, **options) %>
|