Allow editing the name of budget phases

Co-authored-by: decabeza <alberto@decabeza.es>
This commit is contained in:
Julian Herrero
2020-03-16 12:54:00 +01:00
committed by Javi Martín
parent d20e521ee9
commit 909071c48b
17 changed files with 146 additions and 11 deletions

View File

@@ -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)