Allow editing the budget in budget creation wizard
When users created a budget and made a typo, they could use the link to go back to edit a budget. However, after doing so, they were out of the budget creation process. So we're now letting users go back to edit the budget, fix any mistakes they might have made, and then continue to groups.
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
class Admin::BudgetsWizard::Budgets::EditComponent < ApplicationComponent
|
||||
include Header
|
||||
attr_reader :budget
|
||||
|
||||
def initialize(budget)
|
||||
@budget = budget
|
||||
end
|
||||
|
||||
def title
|
||||
t("admin.budgets.edit.title")
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user