Allow opening multiple new/edit forms

Closes #30
This commit is contained in:
2024-12-21 17:52:45 +01:00
parent e5cf3dc0ae
commit d726e92445
14 changed files with 95 additions and 116 deletions

View File

@@ -48,6 +48,8 @@ class UnitsController < ApplicationController
flash.now[:notice] = t(".multiplier_reset", unit: @unit)
end
ensure
# TODO: Avoid double table width change by first un-hiding table header,
# then displaying index, e.g. by re-displaying header in index
run_and_render :index
end