Allow editing the name of budget phases
Co-authored-by: decabeza <alberto@decabeza.es>
This commit is contained in:
committed by
Javi Martín
parent
d20e521ee9
commit
909071c48b
@@ -21,7 +21,7 @@ class Budgets::PhasesComponent < ApplicationComponent
|
||||
end
|
||||
|
||||
def phase_dom_id(phase)
|
||||
phases.index(phase) + 1
|
||||
"#{phases.index(phase) + 1}-#{phase.name.parameterize}"
|
||||
end
|
||||
|
||||
def prev_phase_dom_id(phase)
|
||||
|
||||
Reference in New Issue
Block a user